karlmdavis / rps-tourney

An online multi-player Rock-Paper-Scissors game. Just because.
https://rpstourney.com/
1 stars 2 forks source link

SNI not working from Erica's computer #99

Closed karlmdavis closed 9 years ago

karlmdavis commented 9 years ago

I receive the following error when trying to open the site:

www.rpstourney.com uses an invalid security certificate.

The certificate is only valid for the following domain names:
 *.justdavis.com, justdavis.com

(Error code: ssl_error_bad_cert_domain)

This happens in both FF and Chrome.

Since this hasn't been happening on my box, I think the difference might be the domain name being used to access the site: on my box I'm using rpstourney.com, while on hers I'd tried www.rpstourney.com. That's just a guess, though.

karlmdavis commented 9 years ago

This was fixed by adding ServerAlias entries to all of my apache virtual hosts, e.g.:

ServerName rpstourney.com
ServerAlias www.rpstourney.com