[KLUG Members] grief getting https to work (Invalid method)
Adam Williams
members@kalamazoolinux.org
Wed, 19 Nov 2003 09:13:59 -0500
Installing an SSL certificate is giving me grief. I've done this sort
of thing before but must be having a brain fade. The certificate is in
/usr/share/ssl, and I've verified that the ceritifcate (.cer) matches
the key (.key).
But if I try to go to https://www.mormail.com/ I get a browser error and
in the apache error log I see -
[Wed Nov 19 07:41:53 2003] [error] [client 206.114.45.106] Invalid
method in request \x80g\x01\x03
In access log I see -
206.114.45.106 - - [19/Nov/2003:08:09:03 -0500] "\x80g\x01\x03" 501 -
"-" "-"
Apache is listening on :443, so mod_ssl must be loaded?
[root@turnstone conf]# netstat -ap | grep http
tcp 0 0 *:www *:* LISTEN 12362/httpd
tcp 0 0 *:https *:* LISTEN 12362/httpd
<VirtualHost *>
DocumentRoot "/var/www/html/mormail.com/"
ServerName www.mormail.com
ServerAlias mormail.com
php_value include_path .:/usr/local/lib/php
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log.mormail combined
DirectoryIndex index.php index.html index.htm
SSLEngine on
SSLCertificateKeyFile /usr/share/ssl/mormail.key
SSLCertificateFile /usr/share/ssl/mormail.cer
SSLSessionCacheTimeout 300
SSLLog logs/mormail.ssl_engine_log
SSLLogLevel error
</VirtualHost>
This is the only SSL key on the box.
[root@turnstone conf]# ls -l /usr/share/ssl/
-rw-r----- root.apache Nov 18 18:57 mormail.cer
-rw-r----- root.apache Nov 19 07:52 mormail.cer.backup
-rw-r--r-- root.apache Oct 28 15:21 mormail.csr
-rw-r--r-- root.apache Nov 19 07:52 mormail.csr.backup
-rw-r----- root.apache Oct 28 15:21 mormail.key
-rw-r----- root.apache Nov 19 07:52 mormail.key.backup