Mobile app version of vmapp.org
Login or Join
Lengel546

: 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

@Lengel546

Posted in: #Error #Firefox #Https

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lengel546

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme