Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member erinspice's Avatar
    Join Date
    Feb 2006
    Posts
    101

    Default SSL cert problems

    When you go to my website using https, you get a popup that says "certificate authority might be unknown, certificate might be expired, server configuration might be incorrect." The website shows up correctly if you choose to accept the cert though. My cert was installed through WHM. and WHM said it works. Through cPanel under SSL manager, my CSR, key, and crt all have the same modulus, and my crt doesn't exipre until Jan 12 19:59:47 2008 GMT.

    Do you know what the problem could be? Server config looks like this:

    Code:
    <IfDefine SSL>
    <VirtualHost 11.22.33.44:443>
    ServerAdmin webmaster@domain.net
    DocumentRoot /home/username/public_html
    BytesLog domlogs/domain.net-bytes_log
    User username
    Group username
    ServerName domain.net
    UserDir public_html
    
    User username
    Group username
    ScriptAlias /cgi-bin/ /home/username/public_html/cgi-bin/
    
    SSLEnable
    SSLCertificateFile /usr/share/ssl/certs/domain.net.crt
    SSLCertificateKeyFile /usr/share/ssl/private/domain.net.key
    SSLLogFile /usr/local/apache/domlogs/domain.net-ssl_data_log
    CustomLog /usr/local/apache/domlogs/domain.net-ssl_log combined
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    </VirtualHost>
    </IfDefine>

  2. #2
    Member
    Join Date
    Jan 2007
    Posts
    32

    Default SSL Problems

    Where did you get your cert from? Most of the time, the bottom box will need a bundle.crt to be installed for most browser to know who issued it.

    Scott

  3. #3
    Member erinspice's Avatar
    Join Date
    Feb 2006
    Posts
    101

    Default

    Yeah, I had a cabundle.

  4. #4
    Nic
    Nic is offline
    Member
    Join Date
    Dec 2003
    Posts
    13

    Default

    SSLCertificateFile /usr/share/ssl/certs/domain.net.crt
    SSLCertificateKeyFile /usr/share/ssl/private/domain.net.key

    Where is ca-bundle?
    You should try to install it manually via shell.

  5. #5
    Member
    Join Date
    Jan 2004
    Location
    Colorado
    Posts
    6

    Unhappy OK, How?

    Quote Originally Posted by Nic View Post
    SSLCertificateFile /usr/share/ssl/certs/domain.net.crt
    SSLCertificateKeyFile /usr/share/ssl/private/domain.net.key

    Where is ca-bundle?
    You should try to install it manually via shell.
    I'm having the exact same problem. I'd be happy to add a reference to the ca-bundle, which I have confirmed does exist in /usr/share/ssl/certs/, but how -- exactly -- do I add a reference to it in httpd.conf?

    And to confuse things even more, my secure site's VirtualHost entry doesn't reference the certs at all -- and I know they're there (and work -- with that annoying error to the user):

    Code:
    ServerAlias www.secure.my-domain.com secure.my-domain.com
    ServerAdmin webmaster@secure.my-domain.com
    DocumentRoot /home/secure/public_html
    ServerName www.secure.my-domain.com
    User secure
    Group secure
    CustomLog domlogs/secure.my-domain.com combined
    ScriptAlias /cgi-bin/ /home/secure/public_html/cgi-bin/
    You'd think this would be a common enough problem that the Code Warriors would fix this -- I searched and found a lot of problems posted, but no actual solutions have been offered....

    *sigh*

  6. #6
    Member
    Join Date
    Jan 2004
    Location
    Colorado
    Posts
    6

    Smile How I fixed my chained SSL bundle problem

    First, the quick answer to my own question:

    Code:
    SSLEnable
    SSLCertificateFile /usr/share/ssl/certs/secure.my-domain.com.crt
    SSLCertificateKeyFile /usr/share/ssl/private/secure.my-domain.com.key
    SSLCACertificateFile /usr/share/ssl/certs/secure.my-domain.com.cabundle
    OK, so how did I figure this out, AND solve the bundle problem (browsers were showing warnings) with my GoDaddy cert?

    I *removed* the cert from my server completely (which caused all requests to the site to fail, but such is life for a little while), and then reinstalled it from scratch. Loading the new cert on top of the old one simply didn't work -- tried that many times. But wiping out the cert in WHM and then installing it again worked fine. Whew! Hope that helps others.

  7. #7
    Member
    Join Date
    Jul 2002
    Posts
    52

    Default

    You must create CSR and install SSL certificates in shell.

    SSL has not worked in cpanel or WHM for as long as I can remember. I dont know why the heck they cant fix this!!!

    CPANEL FIX THE SSL ISSUES FOR ONCE!

  8. #8
    Member
    Join Date
    Jan 2004
    Location
    Colorado
    Posts
    6

    Default

    Quote Originally Posted by kipper3d View Post
    You must create CSR and install SSL certificates in shell.

    SSL has not worked in cpanel or WHM for as long as I can remember. I dont know why the heck they cant fix this!!!

    CPANEL FIX THE SSL ISSUES FOR ONCE!
    I have not had an issue with that. I created my CSRs and installed the certs via WHM, with only the problem discussed and the solution I posted.

  9. #9
    Member bmcpanel's Avatar
    Join Date
    Jun 2002
    Posts
    546

    Default

    Also, remember if you are using a GoDaddy chained ssl (TurboSSL), you must reference the bundle that comes with the cert.

    1. Insert the bundle file somewhere on your server. You can place it wherever you wish. I place mine in.....

    /usr/share/ssl/certs/gd_bundle.crt

    2. Open the Apache httpd.conf file and add the following directives:

    * SSLCertificateFile /path to certificate file/your issued certificate
    * SSLCertificateKeyFile /path to key file/your key file
    >>* SSLCertificateChainFile /usr/share/ssl/certs/gd_bundle.crt

    Make sure the SSLCertificateChainFile correctly points to the path of the gd_bundle.crt file

    3. Restart httpd

    Voila!
    Last edited by bmcpanel; 03-18-2007 at 12:22 AM.

Similar Threads & Tags
Similar threads

  1. Problems with SSL Cert
    By Chriz1977 in forum Security
    Replies: 3
    Last Post: 04-20-2011, 09:45 AM
  2. Problems with self signed SSL cert
    By Johnserver in forum New User Questions
    Replies: 5
    Last Post: 05-28-2010, 05:05 PM
  3. SSL Cert install problems
    By rosewood in forum New User Questions
    Replies: 3
    Last Post: 08-26-2008, 10:29 AM
  4. SSL Cert Problems
    By jnagro in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-21-2003, 01:13 PM
  5. SSL Cert problems
    By WildWayz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-18-2002, 12:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube