Seeking Guidance for Automated SSL Renewals

My domain is:

I ran this command: certbot renew

It produced this output: Renewal failed - unable to connect to the server

My web server is: Apache 2.4.35

The operating system my web server runs on is: Ubuntu 20.04

My hosting provider, if applicable, is: DigitalOcean

I can login to a root shell on my machine: Yes

I’m using a control panel to manage my site: No

The version of my client is: certbot 1.12.0

Is there a recommended way to troubleshoot certbot renewals? Currently, the renewal fails with an inability to connect to the server. However, manual renewals work without issues. Seeking guidance on ensuring automated renewals function properly.

Hi @hammadkhan555, and welcome to the LE community forum :slight_smile:

I'd check through the letsencrypt.log file for more specific details.
I'd review the settings in the renewal config file.
I'd upgrade certbot to the recommended version; See: Certbot Instructions | Certbot (

And since we are talking about Apache, I would always double-check the output of:
sudo apachectl -t -D DUMP_VHOSTS


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