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.

SSL Installation CA Bundle Validation

Discussion in 'cPanel Developers' started by Tcalp, Nov 2, 2015.

  1. Tcalp

    Tcalp Active Member

    Joined:
    Mar 16, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    Hi Guys,

    We've been working over the last year to build a custom front-end for our WHMCS to better suit our product offerings and one of the things we are doing is building an SSL certificate installation interface.

    I've always liked the way that cPanel validated 'onchange', the SSL certificate parts; We have been able to validate the CRT and PRIVATE KEY via PHP's open_ssl modules, but are a bit stumped on how to go about validating the CA BUNDLE chain. Can anyone point me to what file cPanel has the validation code in place so that we can use it as a point of reference ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. Tcalp

    Tcalp Active Member

    Joined:
    Mar 16, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    Hi Michael,

    I wasn't looking to make use of the API, was looking for which source file/script contained the validation or JS script (etc).
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I don't believe that functionality is available for use through our API or outside of the user interface. You can open a feature request for this via:

    Submit a Feature Request

    Thank you.
     
Loading...

Share This Page