I run our own Nginx on a CentOS server. However every time we’ve set up using this command:
certbot certonly -a webroot --webroot-path=/home/dir -d domain.io -d www.domain.io
It somehow asks me for DNS verification. But this doesn’t auto-renew. Where can I find very clear, simple, instructions on how to set this up so that everything is done in a way that I don’t have to think about it again. I don’t need to become an expect at this. Just need to do this.
Hello, thank you! Actually after a while it seemed to work. Now I have a different question. IN executing that command we did the domain.io (and the www.) version of the domain. We’d also like to add the domain.com to the same certs if possible. Is this doable? We want to auto-redirect any visiting user to the same domain via a 301, which may be the .com domain. So we’re simply trying this out with the .io. Is this an Nginx problem and not an SSL problem?
You can put them both in the same certificate by just adding more -d options. But I didn’t understand whether you’ve succeeded in issuing the combined certificate (but just not gotten nginx to serve it up to visitors properly), or whether you’re still waiting to issue it.