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.
My domain is:
I ran this command:sudo letsencrypt certonly -a webroot --webroot-path=/opt/gitlab/embedded/service/gitlab-rails/public -d
It produced this output: - The following errors were reported by the server:
Domain:
Type: unauthorized
Detail: Invalid response from
http:///.well-known/acme-challenge/WIGg2Akq36Le9SpxJWi32NfRKsumpDakGJTkOiVTkFM
: â\n\n404 Not
Found\n\n
Not Found
\n<pâ
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): gitlab nginx
The operating system my web server runs on is (include version): centos 7
My hosting provider, if applicable, is: local
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): certbot 0.38.0
Hi @JuergenAuer
Yes, the path is correct because that is the root of gitlab, create the 1234 file, and load correctly with https, but with http it does not load.
/.well-known/acme-challenge/1234 works, same directory with a random file name has the expected result http status 404 - Not Found.
Visible Content: 404 The page could not be found or you don't have permission to view it. The resource that you are attempting to access does not exist or you don't have the necessary permissions to view it. Make sure the address is correct and that the page hasn't moved. Please contact your GitLab administrator if you think this is a mistake. Go back
I'm not so firm with these GitLab - pages. Isn't there a specialized tool to create Letsencrypt - certificates?
Hello, I could solve it, the problem is that cerbot must load with port 80, so the nginx that has gitlab was reconfigured without ports and the external_url that had https was removed, additionally the firewall was configured so that the server where there was the gitlab, I had access to port 80, with that I executed the command and it worked, thanks.