I went through this tutorial http://www.vanemery.com/Linux/Apache/apache-SSL.html setting up my SSL on Apache2. But when I attempt to start my server I get this error:
Syntax error on line 1 of /etc/apache2/conf.d/ssl.crt/foo-server.crt: Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
What does it seem like I'm missing in my Apache setup? How can I check?
Aay help is greatly appreciated!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
below is my vhost file:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName foo.ca
ServerAlias www.foo.ca
RailsEnv development
DocumentRoot /home/dan/rails/foo/public
SSLEngine On
SSLCipherSuite HIGH:MEDIUM
SSLProtocol all -SSLv2
SSLCertificateFile /etc/apache2/conf.d/ssl.crt/foo-server.crt
SSLCertificateKeyFile /etc/apache2/conf.d/ssl.key/foo-server.key
SSLCertificateChainFile /etc/apache2/conf.d/ssl.crt/foo-ca.crt
SSLCertificateFile /etc/apache2/conf.d/ssl.crt/foo-ca.crt
<Directory "/home/dan/rails/foo/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
</IfModule>