Modify multi-domain cert

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 --domains ",,,,*,*,*,*" --non-interactive --agree-tos --email

[modification request]

certbot certonly --dns-route53 --dns-route53-propagation-seconds 30 --cert-name --domains ",,*,*" --deploy-hook /opt/ --renew-with-new-domains

1 Like

Hello :slightly_smiling_face:

If sudo certbot certificates reports as the Certificate Name of the certificate you wish to modify, you have the correct idea.

1 Like

In general, using --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.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.