How To Secure Nginx with Let's Encrypt on CentOS 7- Error in Step 4 (Obtaining a Certificate)

Posted July 31, 2018 5.5k views
CentOSSecurityAPIFirewallLinux CommandsLet's Encrypt

Failed authorization procedure. Mywebsite (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Mywebsite.well-known/acme-challenge/5tPSOEzhHJccNzkOwLYRdIMnTSRVIBOMgmS6EYXj1-g: Timeout during connect (likely firewall problem)


  • The following errors were reported by the server:

Type: connection
Detail: Fetching
Timeout during connect (likely firewall problem)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello friend!

The subdomain currently points to IP (AWS) and that IP is not responding. Because of this, LetsEncrypt is unable to confirm your domain to sign the certificate. You should point the DNS for that subdomain to the server that you are setting it up on, wait a bit for DNS propagation, and then try again. That should work :)

Kind Regards,