tried similar solutions to those offered for this error. no dice. I’m getting the Certificate name mismatch for one domain without the ‘www’ while the one with ‘www’ works great. also getting this error at command line for several domains and wonder if its implicated:
Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/www.example.net.conf with version 0.22.2 of Certbot. This might not work.
Either Certbot was downgraded to an older version, or there are multiple installs of it -- perhaps certbot-auto was version 0.26.1 when the certificate was issued, and there's also an OS package of 0.22.2. Downgrading usually doesn't cause problems, though, and it can't have caused issues for the web server if it hasn't done anything yet.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 1
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for saveoursoil.us
Waiting for verification…
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/saveoursoil.us-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
Enhancement redirect was already set.
#certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/www.energymodeling.net.conf with version 0.22.2 of Certbot. This might not work.
Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/wholeworldjustice.org.conf with version 0.22.2 of Certbot. This might not work.
Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/web-analysts.net.conf with version 0.22.2 of Certbot. This might not work.
Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/energymodeling.net.conf with version 0.22.2 of Certbot. This might not work.
Found the following certs:
Certificate Name: saveoursoil.us
Domains: saveoursoil.us
Expiry Date: 2018-12-17 15:02:07+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/saveoursoil.us/fullchain.pem
Private Key Path: /etc/letsencrypt/live/saveoursoil.us/privkey.pem
apache2ctl -S
VirtualHost configuration:
*:443 is a NameVirtualHost
default server energymodeling.net (/etc/apache2/sites-enabled/energymodeling.net-le-ssl.conf:2)
port 443 namevhost saveoursoil.us (/etc/apache2/sites-enabled/saveoursoil.us-le-ssl.conf:2)
alias www.saveoursoil.us
*:80 is a NameVirtualHost
default server energymodeling.net (/etc/apache2/sites-enabled/energymodeling.net.conf:5)
port 80 namevhost saveoursoil.us (/etc/apache2/sites-enabled/saveoursoil.us.conf:4)
alias www.saveoursoil.us
ServerRoot: “/etc/apache2”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/var/log/apache2/error.log”
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
PidFile: “/var/run/apache2/apache2.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“www-data” id=33
Group: name=“www-data” id=33
But there is a mixed content warning you should fix: Use FireFox or Chrome, then CTRL + Shift + I, this opens the console. There you can find links loaded per http, not per https.