Is it possible to use certbot renew
command to renew part of the SSL certificates?
The reason I want to do this is because some of the certificates on my server are for development environment, which may not need to be renewed anymore. And some of the certificates are for production environment.
Let’s say I have the following 3 domains which are used only in development environment.
www.foo.dev.tw
bar.dev.tw
abc.dev.tw
Each of the 3 domain has its corresponding SSL certificate. Quality assurance engineers will use these domains to test new features of the website of my company.
And the following 3 domains are used for production environment:
www.asdf.com.tw
www.qqq.com.tw
www.def.com.tw
The 3 production environment domains also have 3 corresponding certificates.
I’ve read the document here. But haven’t found any options that provide this feature.
I thought that maybe I can add a --pre-hook
option that moves the development certificates to a temporary folder before renewing executing certbot renew
. Then move them back to the original folder with the --post-hook
option.
I’d like to know if there exist a more convenient way to renew only the production environment certificates.