This error may be displayed whilst starting Apache-
- To solve this error please follow the steps given below.
ServerName www.domain.com:443
DocumentRoot /home/directory/html
SSLEnable
SSLCertificateFile /www.domain.crt
SSLCertificateKeyFile /www.domain.key
- The VirtualHost example below is the correct method of using an SSL enabled VHost.
- As you can see :443 has been removed from the ServerName parameter.
ServerName www.domain.com
DocumentRoot /home/directory/html>/code>
SSLEnable
SSLCertificateFile /www.domain.crt
SSLCertificateKeyFile /www.domain.key