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:
    1
    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:
    1
    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
Loading...

Share This Page