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.

Getting "Invalid ssl directory. Unable to continue."

Discussion in 'General Discussion' started by marcusahle, Jun 19, 2011.

  1. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I migrated from one server with cPanel/WHM to another server with cPanel/WHM. Everything migrated over fine, but it looks like some of the sites don't have SSL enabled on the new server, even though the did on the other. I went to "Activate SSL on your webhost" and I select my domain and it brings up the crt and key automatically then I hit the Install Certificate button and it gives me an error saying: "Invalid ssl directory. Unable to continue."

    Any idea what is causing this? Any help would be greatly appreciated!
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you check on the old machine's httpd.conf what it has listed for the SSL directory? The normal directory location is /etc/ssl/ for the location, but older machines might have used /usr/share/ssl instead of /etc/ssl and this might be the issue. If your machine was using /usr/share/ssl on the old server, I suggest copying all of the certs to /etc/ssl location into the /etc/ssl/certs and /etc/ssl/private directories, then re-attempting to install the certificates.
     
  3. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    On the old server the certs are in /usr/share/ssl but on the new server they are already in /etc/ssl but it's still getting the same error.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please try creating /usr/share/ssl instead and copying all the certs in /etc/ssl there instead then. It's possible some template is hard coding the old SSL locations due to the prior httpd.conf entries on the old machine.

    Code:
    mkdir -p /usr/share/ssl
    cp -R /etc/ssl/* /usr/share/ssl/
     
  5. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    That didn't work either. Getting the same error.


    The SSL Root /home/account/ssl/request-wQuDskgOJEEvmDuj is not a directory! Invalid ssl directory. Unable to continue.
    Invalid ssl directory. Unable to continue.
     
  6. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Any idea's what I can try?
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Is that a new error it is returning now about /home/account/ssl/request-wQuDskgOJEEvmDuj location? That wasn't previously noted for the error message, so just confirming.

    At this point in time, if you could submit a ticket using WHM > Support Center > Contact cPanel or using the link in my signature, that would be the best course of action. If you could also post the ticket number here upon opening one.

    Thanks.
     
  8. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    No. It is the same error message.
     
  9. marcusahle

    marcusahle Member

    Joined:
    Apr 22, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Your Request id is: 1649505.
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If possible going forward, please provide the full error message initially. Previously, the full error was never provided other than "Invalid ssl directory. Unable to continue."

    Thanks for providing the ticket ID number!
     
  11. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Per the ticket, it appears you were trying to install the SSLs via cPanel rather than using WHM? If that is the case, please try using WHM rather than cPanel to install any SSLs that didn't properly transfer.

    Additionally, if the sites aren't given a dedicated IP when being transferred, the SSLs will not copy over as installed. They will copy but they won't install as they won't have a dedicated IP to utilize.
     
  12. xiuli0

    xiuli0 Registered

    Joined:
    Jun 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    very good
     
Loading...

Share This Page