I can't renew the certificate again

My domain is: ce.oclockdt.com

I ran this command: Virtualmin -> Server Configuration -> SSL Certificate -> Let's Encrypt -> Only Update Renewal

It produced this output: "Renewal failed due to Web-based validation failed"

My web server is (include version): Apache version 2.4.37

The operating system my web server runs on is (include version): Rocky Linux 8.6

My hosting provider, if applicable, is: OVHCloud

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): Virtualmin and Webmin

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.22.0

I have created the directories /home/ce/public_html/.well-known/acme-challenge and /home/ce/public_html/public/.well-known/acme-challenge

That's not much info to work with. Can you locate the Certbot log and upload it? You will need to copy it to a .txt file before using the upload button on the post menu.

You should find it at
/var/log/letsencrypt/letsencrypt.log

3 Likes

Yes, sorry. This is the command:

sudo certbot certonly --manual -d ce.oclockdt.com

This is the result:

Renewing an existing certificate for ce.oclockdt.com
Create a file containing just this data:
CEvwa9HokJhzhWpX1e806vbOxnVX4fIq5VzHg9MdjnM.hbNn4qOrcJOUJpXJpjW6kKIYWmrSPy_O3rVxzOvqKGE
And make it available on your web server at this URL:
http://ce.oclockdt.com/.well-known/acme-challenge/CEvwa9HokJhzhWpX1e806vbOxnVX4fIq5VzHg9MdjnM
Press Enter to ContinueSaving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
EOFError
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

An this is the log:

letsencrypt.log.txt (14.1 KB)

Did you also follow these instructions?:

2023-06-14 13:25:19,039:DEBUG:certbot._internal.display.obj:Notifying user: Create a file containing just this data:
CEvwa9HokJhzhWpX1e806vbOxnVX4fIq5VzHg9MdjnM.hbNn4qOrcJOUJpXJpjW6kKIYWmrSPy_O3rVxzOvqKGE
And make it available on your web server at this URL:
http://ce.oclockdt.com/.well-known/acme-challenge/CEvwa9HokJhzhWpX1e806vbOxnVX4fIq5VzHg9MdjnM

Why did you choose to use?:

3 Likes

Ok, I didn't create the file, but what name should I do it with?

I used "manual" because I saw it in an answer from another user. Better not?.

Using manual would make you a slave to it [every 90 days... forever] - manual can't be automated.

I'd forget those instructions and start over.

Why did this fail?
[fix that]

2 Likes

Have you seen any EOFError threads like this?

I have not and I am mobile so don't have my normal tools to check further

3 Likes

Need I say more?

2 Likes

Yes please. need to update?

Now this is the log:

letsencrypt.log_02.txt (18.3 KB)

That looks like an error you need to talk to your hosting provider about. Here are the key bits from that log

2023-06-14 14:29:07,802:INFO:certbot.compat.misc:Running manual-auth-hook command: /etc/webmin/webmin/letsencrypt-dns.pl
2023-06-14 14:29:08,086:WARNING:certbot.display.ops:Hook '--manual-auth-hook' for ce.oclockdt.com reported error code 1
2023-06-14 14:29:08,086:WARNING:certbot.display.ops:Hook '--manual-auth-hook' for ce.oclockdt.com ran with error output:
 Error: Missing file to read at virtual_server::/usr/libexec/webmin/virtual-server/feature-dns.pl line 3694
 Error
 -----
 Missing file to read at virtual_server::/usr/libexec/webmin/virtual-server/feature-dns.pl line 3694
3 Likes

Solved.

sudo certbot certonly -d midominio.com ... option 2

Thanks to all.

1 Like

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