Certbot failed to renew certificate manually

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: https://reservaweb.camsor.com.uy/

I ran this command:
certbot certonly --webroot
reservaweb.camsor.com.uy
folder that contains the web

It produced this output:

Waiting for verification…
←[31mChallenge failed for domain reservaweb.camsor.com.uy←[0m
http-01 challenge for reservaweb.camsor.com.uy
Cleaning up challenges
←[31mSome challenges have failed.←[0m
←[1m
IMPORTANT NOTES:
←[0m - The following errors were reported by the server:

Domain: reservaweb.camsor.com.uy
Type: unauthorized
Detail: Invalid response from
http://reservaweb.camsor.com.uy/.well-known/acme-challenge/duHswFi8nlf-V_UJ7X
eTyL4-6ubdT7AXZ9wpgXyhpWY
[200.58.145.142]: "\r\n<html
xmlns=“http”

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): iis 8.5

The operating system my web server runs on is (include version): Windows server 2002

My hosting provider, if applicable, is:

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 Like

That command seems to be missing a few things... probably something more like:
certbot certonly --webroot -w "c:/some/path" -d reservaweb.camsor.com.uy
You need to ensure the webroot path is the correct one in use.
You can test that by placing a test file in that expected location.
mkdir c:/some/path/test-file/.well-known.
mkdir c:/some/path/test-file/.well-known/acme-challenge
echo "test" >> c:/some/path/test-file/.well-known/acme-challenge/test-file
then try:
http://reservaweb.camsor.com.uy.well-known/acme-challenge/test-file

[where "c:/some/path/" is your actual webroot path]

1 Like

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