I generate my certs (certonly) on SNI server, create manually virtualhost and activate it, but on apache reload i got the following warning:
RSA server certificate CommonName (CN) `example.com’ does NOT match server name!?
After check I noticed the servername defined in virtualhost was : www.example.com.
<Virtualhost xx.xx.xx.xx::80> […] ServerName www.example.com
This configuration have been copied from Virtualhost xx.xx.xx.xx:80
Can I should I ignore it?
Should i chang eny servername or change my certs?
- Apache 2.2
- 1 ip
- 1 webroot