I am hosting 2 domains from the same dynamic IP. I recently switched from TLS-SNI-01 to TLS-ALPN-01 after receiving emails from letsencrypt about the EOL for the TLS-SNI-01 verification method. This issue begun upon switching to the new verification method. I was able to renew domain 1 with no issues (actually had to use the run
argument in lego as if it was the first time getting a cert, but it worked). When I try to get a certificate for the other domain, aurorabox.tech, I get the output you see below. Port 444 is open and forwarded to the appropriate server.
I have not tried other methods. I’m reading mixed reviews about DNS-01 working with Namecheap, so I’m going to skip that for now. I could try http-01. provided that it will work on a nonstandard port such as 81, as port 80 is blocked by my ISP.
I’ve seen a number of posts about this particular error, but nothing I read seemed applicable to my case, unless I overlooked something. Any suggestions/help are greatly appreciated. I have not brought the issue up with the developer of lego as I don’t believe it’s an issue with that tool.
My domain is: aurorabox.tech
I ran this command:
sudo lego --tls --tls.port :444 --email="webmaster@aurorabox.tech" --domains="aurorabox.tech" --domains="www.aurorabox.tech" -a run
It produced this output:
2019/02/05 19:00:16 [INFO] [aurorabox.tech] AuthURL: https://acme-v02.api.letsencrypt.org /acme/authz/-Y_Ifqno8y5tPVXf33bB0RVS4ydhnFAA96GFqu9i4Bk
2019/02/05 19:00:16 [INFO] [www.aurorabox.tech] AuthURL: https://acme-v02.api.letsencrypt.org /acme/authz/aR58ZA61ujr9kU6wWY3-7zpCDDyYK2VeEzenkeS-i4s
2019/02/05 19:00:16 [INFO] [aurorabox.tech] acme: use tls-alpn-01 solver
2019/02/05 19:00:16 [INFO] [www.aurorabox.tech] acme: use tls-alpn-01 solver
2019/02/05 19:00:16 [INFO] [aurorabox.tech] acme: Trying to solve TLS-ALPN-01
2019/02/05 19:00:28 [INFO] [www.aurorabox.tech] acme: Trying to solve TLS-ALPN-01
2019/02/05 19:00:38 Could not obtain certificates:
acme: Error -> One or more domains had a problem:
[aurorabox.tech] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge, url:
[www.aurorabox.tech] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge, url:
My web server is (include version): nginx v1.14.0
The operating system my web server runs on is (include version): Ubuntu 18.04.1
My hosting provider, if applicable, is: Namecheap
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): lego v2.1.0