srvrco / getssl

obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
GNU General Public License v3.0
2.09k stars 374 forks source link

ERR_CERT_DATE_INVALID on different port numbers ? #819

Closed exxosuk closed 11 months ago

exxosuk commented 11 months ago

I am running Ubuntu 20, Nginx. The certs all work fine for my websites etc. However, I am puzzled and lost as if I try and access a program running on a particular port, it says.

_Web sites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for www.exxosforum.co.uk:20000. The certificate is only valid for exxosforum.co.uk.

Error code: SSL_ERROR_BAD_CERTDOMAIN

I did have it all working some months ago, but I recently changed from Apache to Nginx, so I think something broke, but no idea what ?

But certs are not port dependant are they ?!

exxosuk commented 11 months ago

OK nevermind, I had to set the certs path again in the config files in my applications. D'oh!