Not sure why challenge is via http://137.117.206.243:443/ not domain it self.
My domain is: nycos.co.uk
I ran this command: sudo certbot renew --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.nycos.co.uk.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.nycos.co.uk
Waiting for verificationâŚ
Cleaning up challenges
Attempting to renew cert (www.nycos.co.uk) from /etc/letsencrypt/renewal/www.nycos.co.uk.conf produced an unexpected error: Failed authorization procedure. www.nycos.co.uk (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://137.117.206.243:443/.well-known/acme-challenge/wehlrGsLcPfU-DpKJP8HWl9dmAANTp_lnKjRz3c6poU [137.117.206.243]: â\n\n400 Bad Request\n\n
Bad Request</h1â. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.nycos.co.uk/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.nycos.co.uk/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.nycos.co.uk
Type: unauthorized
Detail: Invalid response from
http://137.117.206.243:443/.well-known/acme-challenge/wehlrGsLcPfU-DpKJP8HWl9dmAANTp_lnKjRz3c6poU
[137.117.206.243]: â\n\n400 Bad
Request\n\nBad Request</h1â
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): Apache
The operating system my web server runs on is (include version): Ubuntu 18.04.1 LTS
My hosting provider, if applicable, is: Azure
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