httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] How to install SSL certificate for virtual server?
Date Thu, 28 Aug 2008 15:46:24 GMT
I have an apache 1.3x server which utilizes SSL.  Lets say the name is  I use apachectl startssl to start the server, and can
access it using  Now I have a second virtual
server named using the same IP, which I want to secure.
When I attempt to access it, I get the following error in Firefox:

   Secure Connection Failed uses an invalid security certificate.
   The certificate is only valid for
   (Error code: ssl_error_bad_cert_domain)

Here's an excerpt of my virtual host configuration:


    SSLCertificateFile /usr/local/apache/conf/ssl.crt/
    SSLCertificateKeyFile /usr/local/apache-1.3.37/conf/ssl.key/

    <Files ~ "\.(cgi|shtml|phtml|php3|roc|rock?)$">
        SSLOptions +StdEnvVars

    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0

    CustomLog /usr/local/apache/logs/ssl_request_log \
              "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


How do you secure a second virtual host with an SSL certificate, so I can then


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message