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!

Does API1 SSL::delete work on current version of cPanel?

Discussion in 'cPanel Developers' started by morissette, Jun 11, 2014.

  1. morissette

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    Does API1 SSL::delete, SSL::deletekey and SSL::deletecrt work on the latest version of cPanel?

    I am currently writing something to use this but want to ensure that it's not all a waste. I know a lot of things have changed recently in regards to SSL so if the above API calls do not work what alternative do I have to remove an SSL installation manually from CLI?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Those three functions are still available with API1 on cPanel version 11.44. However, note that it's advised that you consider switching from API1 to one of the newer sets of functions as early as you can.

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

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    Yes I did get it to work without issue.

    Which newer version? I did not see any SSL::delete in API2, are you referring to the UAPI?

    If so I've got A LOT of old code to update, when is API1/2 going to be deprecated?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, I was referring to UAPI. There are no immediate plans to remove the ability to use API 1 or API 2. That's something that would be announced well in advance to give you time to modify your custom applications.

    Thank you.
     
    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