Issues Verifying the domain for renewal


#1

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: www.dapaul.net

I ran this command: certbot-auto certonly --webroot -w /var/www/html/ -d dapaul.net -d www.dapaul.net --dry-run

It produced this output:

Requesting to rerun ./certbot-auto with root privileges...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for dapaul.net
http-01 challenge for www.dapaul.net
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. dapaul.net (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching 
https://www.dapaul.net.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM: Error getting validation data, www.dapaul.net (http-01): urn:ietf:params:acme
:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.dapaul.net.well-known/acme-challenge/N_ILEofg52KmcTYyhCZeqYBTU
JBgkHbrjxlyDN_fVJw: Error getting validation data
IMPORTANT NOTES:
 - The following errors were reported by the server:
   Domain: dapaul.net
   Type:   connection
   Detail: Fetching
   https://www.dapaul.net.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM:
   Error getting validation data
   Domain: www.dapaul.net
   Type:   connection
   Detail: Fetching
   https://www.dapaul.net.well-known/acme-challenge/N_ILEofg52KmcTYyhCZeqYBTUJBgkHbrjxlyDN_fVJw:
   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): Apache/2.4.10 (Debian)

The operating system my web server runs on is (include version): SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux

My hosting provider, if applicable, is: Google Cloud Platform VM

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


#2

Im not allowed to upload new files but can provide full log if needed. Thank you so much!


#3

Hi @metaldart

there is a wrong redirect http -> https: dapaul.net.well-known - a / is missing.

download http://www.dapaul.net/.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM -h
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 380
Content-Type: text/html; charset=iso-8859-1
Date: Wed, 05 Sep 2018 19:07:42 GMT
Location: https://www.dapaul.net.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM
Server: Apache/2.4.10 (Debian)

Status: 301 MovedPermanently

Add a / after your Servername / Hostname in your redirect command.


#4

Thats the best fix ever. Hit my limit so looks like dry run was successful, thank you so much! Hopefully I can reverify everything in an hour! :slight_smile:


#5

Happy to read that :wink:

Now your redirect is correct:

download http://www.dapaul.net/.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM -h
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 381
Content-Type: text/html; charset=iso-8859-1
Date: Wed, 05 Sep 2018 19:22:42 GMT
Location: https://www.dapaul.net/.well-known/acme-challenge/9SxufV-7iCkk8pHGmqafZdir-JFilaorkIPx3IK15JM
Server: Apache/2.4.10 (Debian)

Status: 301 MovedPermanently


#6

Now it worked.

https://transparencyreport.google.com/https/certificates?cert_search_auth=&cert_search_cert=&cert_search=include_expired:false;include_subdomains:false;domain:dapaul.net&lu=cert_search

A new Letsencrypt-certificate, created 05.09.2018.


#7

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