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.

SSL certificate transfer

Discussion in 'General Discussion' started by infield, Aug 23, 2006.

  1. infield

    infield Member

    Joined:
    Jul 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I just transfered an account using the "Copy multiple accounts from another server" in WHM. Everything is fine except the SSl. It transfered all the mysite.com.crt, and the mysite.com.key but I get an "Unable to connect" message when I try to access the site through https://mysite.com or http://mysite.com:443

    Then through WHM I "Install a SSL Certificate and Setup the Domain" pasting in the mysite.com.key, mysite.com.crt and the mysite.com.csr bundle from the old server. Each time apache restarts without an error and things "seem" OK but I keep getting an "Unable to connect" message.

    I compared httpd.conf files and in the <IfDefine SSL> for the domain the only differences between the configs is the IP number.

    Any tips?

    Thanks,
    -marc
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You've done all the right things. Try stopping httpd and then starting it again:

    httpd stop
    (check that it has stopped)
    httpd startssl

    Other than that, make sure that the entries in httpd.conf definitely are correct. Also checking the ssl log might help in /usr/local/apache/logs/ssl_engine_log
     
  3. infield

    infield Member

    Joined:
    Jul 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the tip.

    It gave no output and still no SSl connection. I went ahead and tried to connect localy using just the IP number thinking maybe the port was closed or somthing. But it just looks like SSL is down.

    Also the lynx test works fine on a non-ssl connection.

    I'm stumped. :rolleyes:
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Were the csr and ca (if needed) files also copied?

    Are the httpd.conf file entries exactly the same, other than the IP address?

    Does the site have a dedicated IP?

    Is it the right IP in the httpd.conf file?
     
  5. infield

    infield Member

    Joined:
    Jul 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Yeah I transfered key, crt, cabundle and even csr for good measures. I have checked to make sure the paths are correct on each. It's got a deicated IP and the whole <IfDefine SSL> block for the IP is identical to the working servers except for the IP number. It quickly rejects the connection attempt when I try to connect.

    Here's some log info if your up for it.

    I can't really see any problems.

    Thanks,
    -marc
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Is the SSL site the only one using the IP address that you assigned? You can only have one SSL site per IP address.
     
  7. infield

    infield Member

    Joined:
    Jul 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Yup. It has a unique IP.
     
  8. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I don't know. I suggest getting an admin to look at it. PSM can fix it. I know that because when I first started using them it was an SSL problem I had too.
     
Loading...

Share This Page