Error trying to get a certificate

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: git.gisella-music.com

I ran this command: certbot certonly --standalone -d git.gisella-musico.com

It produced this output:

[root@intraput conf.d]# certbot certonly --standalone -d git.gisella-music.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Requesting a certificate for git.gisella-music.com
Performing the following challenges:
http-01 challenge for git.gisella-music.com
Waiting for verification...
Challenge failed for domain git.gisella-music.com
http-01 challenge for git.gisella-music.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: git.gisella-music.com
   Type:   connection
   Detail: 95.216.214.123: Fetching
   http://git.gisella-music.com/.well-known/acme-challenge/QFll-iKn-taQOIv7T74iFZ0Un-m0kUi1mAyaGQVGGG0:
   Error getting validation data

   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. 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.

My web server is (include version): VPS

The operating system my web server runs on is (include version): CenOs 7

My hosting provider, if applicable, is: hostnet.nl

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): 1.11

I have the DNS records configured in this way Screenshot by Lightshot
why am I getting this error?
Thank you

1 Like

The name has two IPs:

Name:      git.gisella-music.com
Addresses: 9f93:8978:eeca:5487:799d:3121:1c96:f6bd
           95.216.214.123

Neither of which appears to be open via HTTP:

curl -4 http://git.gisella-music.com/
curl: (56) Recv failure: Connection reset by peer

curl -6 http://git.gisella-music.com/
curl: (56) Recv failure: Connection reset by peer

HTTP access is required to validate the certificate request [when using HTTP-01 authentication].

4 Likes

@rg305 thank you... wel I must say it was a bit silly of me not thinking about that, as I work on several VPSs I thould port 80 would be open but it was not so now I opened the port and create the certs with no problems.

3 Likes

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