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!

Enable SSL from command line

Discussion in 'General Discussion' started by fabin, Jan 30, 2016.

  1. fabin

    fabin Active Member

    Joined:
    Nov 27, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Gods Own Country
    is it possible to enable a SSL certificate for a domain in cpanel using command line script? For example, if I execute like below

    addsslcertificate domain.name cert.crt cert.key cabundle.crt

    it will configure the certificate for the domain. Is there any existing scripts?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. fabin

    fabin Active Member

    Joined:
    Nov 27, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Gods Own Country
    I think I figured it out.. seems possible using whm api function to cretate a php script to do that
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mark Muyskens

    Mark Muyskens Registered

    Joined:
    Jan 31, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Citrus Heights, CA
    cPanel Access Level:
    DataCenter Provider
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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