Apache/2.4.41 (Ubuntu)
Ubuntu 20.04.2 LTS
PHP 7.4.3
certbot 1.18.0
We issued a wildcard certificate with the certbot-dns-digitalocean plugin (Welcome to certbot-dns-digitalocean’s documentation! — certbot-dns-digitalocean 0 documentation ).
Output:
Successfully deployed certificate for *.wpmu.work to /etc/apache2/sites-enabled/wpmu-le-ssl.conf
Your existing certificate has been successfully renewed, and the new certificate has been installed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
We restarted the server, rebooted, and cleared cache and cookies. However the page is still not secured at https, when I check the certificate it says:
*.wpmu.work
Issued by: R3
Expired: Sunday, May 9, 2021 at 9:01:20 PM Pacific Daylight Time“*.wpmu.work“ certificate is expired
When I run certbot certificates this is the output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: wpmu.work
Serial Number: 48ed74fd4a4876e2a9968a030cc6c4fb3c2
Key Type: RSA
Domains: wpmu.work *.wpmu.work
Expiry Date: 2021-12-06 17:29:27+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/wpmu.work/fullchain.pem
Private Key Path: /etc/letsencrypt/live/wpmu.work/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Since the cert on the server says Expiry date December 6, 2021, any thoughts on why the new certificate is not reflecting in the browser when we have already restarted the server?
Here are the virtual hosts sitting in /etc/apache2/sites-available:
wpmu-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName wpmu.work
ServerAlias www.wpmu.work
DocumentRoot /var/www/wpmu
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/wpmu>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/wpmu.work/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/wpmu.work/privkey.pem
</VirtualHost>
</IfModule>
wpmu.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName wpmu.work
ServerAlias www.wpmu.work
DocumentRoot /var/www/wpmu
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/wpmu>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =wpmu.work [OR]
RewriteCond %{SERVER_NAME} =www.wpmu.work
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Thank you!