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.

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:
    16
    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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
  3. morissette

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page