My domain is: unifi.penntech-it.com
I ran this command: sudo certbot --force-renewal -d unifi.penntech-it.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for unifi.penntech-it.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Enabled Apache rewrite module
Redirecting vhost in /etc/apache2/sites-enabled/000-default.conf to ssl vhost in /etc/apache2/sites-available/000-default-le-ssl.conf
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains: https://unifi.penntech-it.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=unifi.penntech-it.com
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/unifi.penntech-it.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/unifi.penntech-it.com/privkey.pem
Your cert will expire on 2022-05-08. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew all of
your certificates, run "certbot renew" -
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: Donate - Let's Encrypt
Donating to EFF: Support EFF's Work on Let's Encrypt | Electronic Frontier Foundation
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2022-01-05T14:50:41
The operating system my web server runs on is (include version):
Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-1068-azure x86_64
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): Control panel and CLI
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 0.27.0
I appear to have successfully renewed the certificate, I restarted the server however when I browse to https://unifi.penntech-it.com:8443 it still shows that the certificate is not valid