own3mall
August 16th, 2009, 08:19 AM
I followed this guide here:
http://www.akadia.com/services/ssh_test_certificate.html
To create a self signed ssl key and certificate.
When I try to restart Apache2, I receive the following error:
* Restarting web server apache2 Syntax error on line 1 of /etc/apache2/conf.d/ssl.crt:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
What's causing this error?
I put the following lines in my apache2.conf:
SSLEngine on
SSLCertificateFile /etc/apache2/conf.d/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/conf.d/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
What am I doing wrong?
http://www.akadia.com/services/ssh_test_certificate.html
To create a self signed ssl key and certificate.
When I try to restart Apache2, I receive the following error:
* Restarting web server apache2 Syntax error on line 1 of /etc/apache2/conf.d/ssl.crt:
Invalid command '-----BEGIN', perhaps misspelled or defined by a module not included in the server configuration
What's causing this error?
I put the following lines in my apache2.conf:
SSLEngine on
SSLCertificateFile /etc/apache2/conf.d/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/conf.d/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
What am I doing wrong?