My domain is:
www.mezasoft.com
I ran this command:
sudo certbot --apache -d www.domain.com -d domain.com
It produced this output:
$ sudo certbot --apache -d www.mezasoft.com -d mezasoft.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/www.mezasoft.com.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Keeping the existing certificate
Created an SSL vhost at /etc/apache2/sites-available/wordpress-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-available/wordpress-le-ssl.conf
We were unable to find a vhost with a ServerName or Address of mezasoft.com.
Which virtual host would you like to choose?
1: wordpress.conf | www.mezasoft.com | | Enabled
2: wordpress-le-ssl.conf | www.mezasoft.com | HTTPS | Enabled
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Deploying Certificate to VirtualHost /etc/apache2/sites-available/wordpress-le-ssl.conf
Enhancement redirect was already set.
Enhancement redirect was already set.
Congratulations! You have successfully enabled https://www.mezasoft.com and
https://mezasoft.com
IMPORTANT NOTES:
-
Some rewrite rules copied from
/etc/apache2/sites-enabled/wordpress.conf were disabled in the
vhost for your HTTPS site located at
/etc/apache2/sites-available/wordpress-le-ssl.conf because they
have the potential to create redirection loops. -
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):
Apache2
The operating system my web server runs on is (include version):
Debian 11
My hosting provider, if applicable, is:
None
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):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.12.0
PROBLEM:
After installing and rebooting trying to access my Wordpress site I'm getting:
NET::ERR_CERT_INVALID
When I open Chrome by clicking on the left side of address, in red, I get "This root certificate is untrusted"
Any ideas of what's causing this?