Hey everyone. I’m having a bit of trouble getting a certificate for one of my client’s domains… I’ve managed to secure them with my other two domains, but this one is having trouble. I’m using nginx for it. I’ll include the details below.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):nginx/1.10.3
The operating system my web server runs on is (include version):Ubuntu 16.04
My hosting provider, if applicable, is: n/a
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
Additional notes: bearcloudgames.com is one of my other domains, which has the certificate no problem. My server block for irisfryer.com is here:
I’ve seen a slight increase in this error recently and I’m not really sure what could be causing it. Two relevant thoughts:
(1) What version of Certbot are you running? Is it recent?
(2) Is it possible that you have separate IPv6 and IPv4 server blocks anywhere in your configuration for the same hostname, rather than a single server block that listens in both IPv4 and IPv6?
I think it’s the most recent… when I check it’s giving me 0.25.0 for Ubuntu 16.04.
I’m a little new to web hosting, so I’m not sure. However, I’ve checked all my enabled and available server blocks and that’s the only one using that server name. I don’t know if it would be helpful to post the other server blocks that I have (they are not having any issues with their certificates though). Are there any logs I can add to the topic that might assist?
However, the thing I notice is you have IPV6 configured (and I use IPV6), but Nginx isn't serving the right content to me via IPV6 (also no listening in v6 too)
Which might be the issue when certbot modify vHost...
Probably! Unfortunately you posted an incomplete version of your nginx configuration earlier so it's hard to identify the exact mechanism of the problem.
You can use nginx -T to get a full dump of the config, including all includes.