Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
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.14.0 (Ubuntu)
The operating system my web server runs on is (include version):Ubuntu 18.04
My hosting provider, if applicable, is:ISP - Virgin Media, DDNS dynu.com, Ubuntu on local box
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)
Thanks mnordhoff. I use OpenDNS for my DNS servers and dynu.com for DDNS. I had redirects for ports 80 & 443 setup on my router to point to the server and I was getting the Nginx page when I used the address or IP locally but after your reply, I tried from my phone over the 4G network and got my camera login. I rebooted the router and now get the certificate correctly but get this response from LE:
Deploying Certificate to VirtualHost /etc/nginx/conf.d/nextcloud.conf
Failed ensure-http-header for nextcloud.cliff.dynu.net
Unable to set enhancement ensure-http-header for nextcloud.cliff.dynu.net
Problem in /etc/nginx/conf.d/nextcloud.conf: tried to insert directive â[âadd_headerâ, âStrict-Transport-Securityâ, ââmax-age=31536000ââ, âalwaysâ]â but found conflicting â[âadd_headerâ, âX-Content-Type-Optionsâ, ânosniffâ]â.
IMPORTANT NOTES:
We were unable to set up enhancement ensure-http-header for your
server, however, we successfully installed your certificate.
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/nextcloud.cliff.dynu.net/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/nextcloud.cliff.dynu.net/privkey.pem
Your cert will expire on 2018-09-01. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the âcertonlyâ option. To non-interactively renew all of
your certificates, run âcertbot renewâ
I don't know. I've never seen that error before. It sounds like it might not be a showstopper. The Strict-Transport-Security header is good but not required.
You could edit the Nginx configuration to add it manually, but if Certbot has a bug, it might get confused in the future.
I hope a Certbot developer chimes in.
What version of Certbot are you using?
It may be good to file a bug with the Nginx configuration and Certbot letsencrypt.log.
@schoen Yes, I was able to reproduce this. @cmcloughlin, your certificate should be installed correctly but we werenât able to automatically set HSTS for you, which is a bug. I have a fix for this queued; for bookkeepingâs sake, can you fill out an issue here? EDIT: Thanks to @schoenâs quick review, weâve merged the fix for this. Just in time, too-- the next Certbot release is scheduled for Wednesday Let us know if this fixes it for you!