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?