The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM Problem (?) - Only 1 SSL instance ever works correctly..

Discussion in 'General Discussion' started by brianteeter, Apr 7, 2002.

  1. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    I have two SSL instances on a server. They both share the same IP, and have configs similar to those shown below.

    The problem is that only the first one will work - ever. Go ahead and visit: https://www.covont.com

    You will see that the server is sending the wrong certificate for the site - the certificate for the first SSL site listed in the httpd.conf. If I switch the ordering and put covont.com's SSL instance config before the other site, covont.com works fine, and the other site doesn't because the server serve's covont's SSL certificate instead of its.

    Am I doing something wrong? I have a NameVirtualHost directive for the IP and port. Is something else required?

    Thanks in advance for any assistance?



    &VirtualHost 216.12.211.202:443&
    ServerAlias www.covont.com covont.com
    ServerAdmin webmaster@covont.com
    DocumentRoot /home/covontc/public_html
    BytesLog domlogs/covont.com-bytes_log
    User covontc
    Group covontc
    ServerName covont.com

    CustomLog /usr/local/apache/domlogs/covont.com-ssl_log &%t %{version}c %{cipher}c %{clientcert}c&

    SSLVerifyClient none
    SSLEnable

    SSLCertificateFile /usr/share/ssl/certs/covont.com.crt
    SSLCertificateKeyFile /usr/share/ssl/private/covont.com.key
    SSLLogFile /var/log/covont.com
    UserDir public_html

    ScriptAlias /cgi-bin/ /home/covontc/public_html/cgi-bin/

    &IfModule mod_jk.c&
    JkMount /*.jsp ajp13
    JkMount /* ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13
    &/IfModule&
    &/VirtualHost&
     
  2. obantec

    obantec Member

    Joined:
    Apr 6, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    SSL issue

    :p
    Hi

    You can only have 1 SSL site per IP.
    You will have to use another IP for the second site.
     
Loading...

Share This Page