But today, as I install a new SSL in my new site with LetsEncrypt I can’t get it to work perfectly. Although it is showing https when I visit the site but when I test it via ssllabs it shows “Certificate name mismatch” error.
*** One thing I noticed. When I visit my www sites with LetsEncrypt installed SSL and removed their www it redirects to one domain. Is this normal?
My webserver is nginx and I believe I correctly configured my server blocks.
Your help and suggestions are very much appreciated. Thanks.
The thing I get for ALL my domains is pointing at the chain for the first domain, alphabetically, on my server. This is odd… All my domains worked just fine until recently… Now they all have this issue. I’ve tried both --webroot and --standalone
Sorry, but I thought jeterboy & smunsch were the same person. You should not hijack posts ;), you should open a new one with your specific issue.
Nevermind, could you please explain in detail what is your problem?, let me check my crystal ball , your problem is that you are renewing your certificates but you still view that the certs expire today?.
I saw that you have already renewed your certs today but maybe they are not where you expect them to be, please, show the output of ls -la /etc/letsencrypt/live/ because I suppose your new certs are not in for example /etc/letsencrypt/live/cudd.li/ but in /etc/letsencrypt/live/cudd.li-0001/ or similar.
If that is the case you should change the path of the certificates in your nginx conf with the correct ones... or you could try to use the option --expand when using the letsencrypt command.
Remember to reload or restart your nginx if you made changes in its config.
If my crystal ball failed, please, explain your problem in detail
Oops. Sorry. I actually started ALL of this by deleting /etc/letsencrypt… The names are correct. Just, even using different certs, ALL domains show that I'm using the chain for cudd.li… Most of the config files (I've configs for… 6 different domains on this server) are in the aforementioned gist.
Ok, I think I understood your "problem", correct me if I'm wrong. You are testing the certificates using openssl s_client command and when you check your domain, for example swo.re, you get the certificate for cudd.li domain and that is because you are using this command:
openssl s_client -connect swo.re:443
but you need to include the domain name you need to check or you will get the default certificate, that in your case is the cert for cudd.li domain.