Token not appearing /.well-known/acme-challenges

Trying to add SSL to a gitlab server using Let’s Encrypt and Certbot.

I can save a test.txt in the webroot and access it in /.well-known/acme-challenge/

I have changed the setting so /var/www/letsencrypt/ is the root for the token to be accessed.

The settings in the gitlab.rb are:

nginx['custom_gitlab_server_config'] = "location ^~ /.well-known { root /var/www/letsencrypt; }"

The error I am seeing is:

Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Timeout

I have been searching for days not, but no luck.

Could you tell us your real domain? Maybe you have an AAAA record but aren’t answering IPv6 requests? but its a VM and not accessible outside the network

How is the certificate authority going to validate that you’ve posted the challenge file if it can’t connect to your host from the Internet?

the domain a record is pointing to the WAN and then points to the correct server we have it working on one of the gitlab installs. Just this one is not having it, I have added the test.txt and can access that.

There’s no publicly-visible A record at all for so far—so there’s no way for Let’s Encrypt to confirm that you’re the operator of that site.

sorry that is the wrong domain

I’ve tried to reach from different countries and I only get timeouts. Are you sure your site is reachable from internet?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.