Server was deletet


#1

Hey, my firewall just logged me out of my system and i had to reset the OS, i had used let’s encrypt before and i wanted to use it agin, when i just had installed it, it worked fine at www.domain.com but when i try to use domain.com without the “www” i get and untrusted cerficate in chrome, and other browsers. When i do an SSL Report on my domain it says:

Common names: www.domain.co MISMATCH
Trusted: No NOT TRUSTED


#2

Sounds like you got a cert for www.domain.com only. If you also want it to work without www. then you need to request a cert with both names by using multiple -d flags.


#3

If you run a test on www.domain.com at the SSL Labs site, https://www.ssllabs.com/ssltest/, it will list what domains actually exist in your installed certificate.


#4

If you run a test on www.domain.com at the SSL Labs site, https://www.ssllabs.com/ssltest/3, it will list what domains actually exist in your installed certificate.

Why not just use the openssl tool to look into it?

openssl x509 -noout -text -in /etc/letsencrypt/live/www.domain.com/cert.pem | grep DNS