My domain is: johnsonchong.com
I ran this command: sudo certbot renew --dry-run
It produced this output:Saving debug log to /var/log/letsencrypt/letsencrypt.log
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)
No renewals were attempted.
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
My web server is (include version): Apache
The operating system my web server runs on is (include version): Ubunto 18.04
My hosting provider, if applicable, is:digitalocean
I can login to a root shell on my machine
I’m using mac terminal to access my machine
The version of my client is certbot 0.31.0
Basically I want to renew my ssl
I also ran the below command
sudo certbot --apache -d johnsonchong.com -d www.johnsonchong.com
Output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action ‘configtest’ failed.
The Apache error log may have more information.
AH00112: Warning: DocumentRoot [/var/www/html] does not exist
AH00526: Syntax error on line 19 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/johnsonchong.com/fullchain.pem’ does not exist or is empty
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(“Error while running apache2ctl configtest.\nAction ‘configtest’ failed.\nThe Apache error log may have more information.\n\nAH00112: Warning: DocumentRoot [/var/www/html] does not exist\nAH00526: Syntax error on line 19 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:\nSSLCertificateFile: file ‘/etc/letsencrypt/live/johnsonchong.com/fullchain.pem’ does not exist or is empty\n”,)