I want to drop the .org and .info domains from a multi-domain certificate. Is --renew-with-new-domains the proper way to accomplish this?
[original request]
certbot certonly --dns-route53 --dns-route53-propagation-seconds 30 --cert-name mydomain.com --domains "mydomain.com,mydomain.net,mydomain.org,mydomain.info,*.mydomain.com,*.mydomain.net,*.mydomain.org,*.mydomain.info" --non-interactive --agree-tos --email user@mydomain.com
[modification request]
certbot certonly --dns-route53 --dns-route53-propagation-seconds 30 --cert-name mydomain.com --domains "mydomain.com,mydomain.net,*.mydomain.com,*.mydomain.net" --deploy-hook /opt/deploy_hook.sh --renew-with-new-domains
1 Like
Hello
If sudo certbot certificates
reports mydomain.com
as the Certificate Name
of the certificate you wish to modify, you have the correct idea.
1 Like
rg305
July 9, 2021, 11:21pm
3
In general, using --cert-name same.as.any.previous.cert.name
will override that existing cert with the newly issued one (when successful to issue).
[it is a forced cert replacement; as their names must be unique]
1 Like
@griffin @rg305 - both of your answers contribute to the solution. Thank you.
I'm happy to report the cert change went off without a hitch.
Thanks again.
2 Likes
system
Closed
August 9, 2021, 12:08am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.