I created a SSL certificate for my site and tried to configure it with Apache2, but it's not working. I modified default-ssl as follows:
<VirtualHost www.mysitename.com:443>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/en.crt
SSLCertificateKeyFile /etc/apache2/ssl/en.key
ServerName www.mysitename.com
DocumentRoot /var/www-ssl/
<Directory /var/www-ssl/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Now when I restart Apache and try to access 'https://www.mysitename.com', it's showing an error
"The connection has timed out.The server at www.mysitename.com is taking too long to respond."
And in the error.log it is showing
"[error] [client 127.0.0.1] Invalid method in request \x16\x03\x01".
How to solve this?