After many hours I finally managed to configure Apache to use my SSL certificate but i just found out that there is something wrong in my configuration. If I try to reach my domain from Google Chrome by just entering the following address I get the following warning:
erichermansson.com Forbidden You don't have permission to access / on this server.
But if I enter the following address in Google Chrome I can access the server and its working with my certificate:
What do I do wrong?
Here is my VirtualHost:
<VirtualHost *:443> ServerAdmin firstname.lastname@example.org ServerName erichermansson.com ServerAlias www.erichermansson.com SSLEngine ON SSLCertificateFile /www/erichermansson.com/ssl/erichermansson.com.crt SSLCertificateKeyFile /www/erichermansson.com/ssl/erichermansson.com.key DocumentRoot /www/erichermansson.com/html/ ErrorLog /www/erichermansson.com/logs/error.log CustomLog /www/erichermansson.com/logs/access.log combined <Directory /www/erichermansson.com/html/ > Options FollowSymLinks AllowOverride All Order deny,allow Allow from all </Directory> </VirtualHost>