Apache https configurations

Posted by sissonb on Server Fault See other posts from Server Fault or by sissonb
Published on 2012-03-21T23:03:20Z Indexed on 2012/03/21 23:32 UTC
Read the original article Hit count: 256

Filed under:
|

I am trying to setup my domain name with a self signed cert. I created the cert and placed the server.key and server.crt files into C:/apache/config/ Then I updated my httpd.confg host to include the following,

<VirtualHost 192.168.5.250:443>
    DocumentRoot C:/www
    ServerName mydomain.com:443
    ServerAlias www.mydomain.com:443

    SSLEngine on
    SSLCertificateFile C:/apache/conf/server.crt
    SSLCertificateKeyFile C:/apache/conf/server.key
    SSLVerifyClient none
    SSLProxyEngine off
    SetEnvIf User-Agent ".*MSIE.*" \
        nokeepalive ssl-unclean-shutdown \
        downgrade-1.0 force-response-1.0
    CustomLog logs/ssl_request_log \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

Now when I go to https://mydomain.com I get the following error.

SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.

Can anyone see what I'm doing wrong?

Thanks!

© Server Fault or respective owner

Related posts about apache2

Related posts about ssl-certificate