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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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?
     
  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
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page