Forgot to generate my cert as


I did generate my certificate, update apache conf, running : ./certbot-auto
Everything is perfect expect I forgot to mention www.
Instead my certficate is instead of

How I can redo the cert ?
Should I revoke ?
What I should remove ?

Thank you,


Run the exact same certbot command you did before, except change “-d” to “-d -d”. Certbot will issue a new certificate, and should offer to save it in the same location as the old one. Then you just have to reload your web server or whatever. It may use a different directory instead, in which case you’d have to update your configuration.

1 Like

If you add the switch --expand to the command line, it should save the new certificate as a replacement for the old one, just with more names listed, which is easier to understand than having the old and new in separate places.


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