Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Install Core Service SSLs via Command Line ?

Discussion in 'Security' started by Tcalp, Apr 17, 2015.

  1. Tcalp

    Tcalp Active Member

    Mar 16, 2013
    Likes Received:
    Trophy Points:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    Hey Guys,

    I expect this is possible, I'm just not sure how to go about it. I did some searching and didn't find anything. I'm putting together some kickstart scripts and would like to automatically install the core service SSLs (mail/whm/ftp) from shell/command line.

    If anyone can enlighten me it would be appreciated :).
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    There are no automated commands to install service SSL certificates, but essentially you just need to replace the existing certificate data in the appropriate files (named after the service) in the following directory:


    You will see file names and directory names within the above directory that will guide you on what to replace. Also, ensure you restart the service after updating those files.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice