: Error message: "The certificate is not valid for any server names" I'm working on creating a self-signed SSL certificate for testing HTTPS on my local development platform. When I browse with
I'm working on creating a self-signed SSL certificate for testing HTTPS on my local development platform.
When I browse with Firefox to a HTTPS test page I am seeing: The certificate is not valid for any server names as one of the two warning messages, the other one is related to the fact that the certificate is self-signed.
So how do I make the certificate valid for my server, which in my case is localhost?
More posts by @Lengel546
1 Comments
Sorted by latest first Latest Oldest Best
You need to fix 2 things:
First make sure the DN (distinguished name) is your server name, in my case 'localhost'
Restart Apache
I wasn't restarting Apache which took me awhile to realize is necessary.
And it wasn't clear that DN was where I needed to stuff the hostname. Normally, as far as I could tell, DN is used for your personal name.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.