Hello !
Here is my problem :
I’m setting up a home server (but remotely accessible from the internet) and I’d like to put https on it, but I have trouble getting certificates from Let’s Encrypt.
My domain name is :
tartopum.freeboxos.fr
I got this domain name from my ISP (https://free.fr) through my router panel. I know that this domain is eligible for https use because my router offers to get me let’s encrypt certificates (unfortunately only usable for my router, not my server).
My OS and web server :
I’m running under ArchLinux with Nginx 1.12.2
I ran the command :
sudo certbot --nginx
It produced the output :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Which names would you like to activate HTTPS for?
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 1
Obtaining a new certificate
/usr/lib/python3.6/site-packages/josepy/jwa.py:107: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
signer = key.signer(self.padding, self.hash)
Performing the following challenges:
http-01 challenge for tartopum.freeboxos.fr
2018/04/18 06:59:07 [warn] 906#906: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
2018/04/18 06:59:07 [notice] 906#906: signal process started
Waiting for verification…
/usr/lib/python3.6/site-packages/josepy/jwa.py:107: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
signer = key.signer(self.padding, self.hash)
Cleaning up challenges
2018/04/18 06:59:22 [warn] 909#909: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
2018/04/18 06:59:22 [notice] 909#909: signal process started
Failed authorization procedure. tartopum.freeboxos.fr (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://tartopum.freeboxos.fr/.well-known/acme-challenge/4cqz4hwc43MxwgzFxhQMAlKRTnrqI9bWhrbQsEfeedM: Timeout
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: tartopum.freeboxos.fr
Type: connection
Detail: Fetching
http://tartopum.freeboxos.fr/.well-known/acme-challenge/4cqz4hwc43MxwgzFxhQMAlKRTnrqI9bWhrbQsEfeedM:
TimeoutTo 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. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
Additional information :
I checked that my home server is accessible from the internet, i have forwarded ports 80 and 443 through my router to my server, and my firewall does not block these ports.
I also checked that files in the webroot/.well-known/acme-challenge were accessible by putting a dummy file and accessing it through URL.
I think my Nginx configuration is OK, but I can post it if necessary.
Thanks for helping !