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.

SOLVED SSL certificate "registered" property in whmapi1

Discussion in 'cPanel Developers' started by Haym, May 12, 2017.

Tags:
  1. Haym

    Haym Active Member

    Joined:
    May 12, 2017
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    Can someone please clarify what the "registered" property means on SSL certificates in relation to whmapi1? For example, in this call there's a registered request parameter and response property for each certificate.

    I originally thought (and hoped) this must be the currently "active" certificate. However in my tests, I'm seeing an older (expired) certificate for a user with the registered=1 property, while the latest certificate (in active use) for the same user has registered=0.

    Thanks
     
  2. cPanelJasonT

    cPanelJasonT Level 2 Technical Analyst
    Staff Member

    Joined:
    Oct 21, 2014
    Messages:
    55
    Likes Received:
    6
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Hello,
    Thank you for reaching out. I agree that it is unclear what the meaning of 'registered' is in this context. I've reported this to the documentation team for clarification.
     
  3. Haym

    Haym Active Member

    Joined:
    May 12, 2017
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Okay, thanks, do you happen to know what the meaning of the property is?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Haym,

    The "registered" parameter for the listcrts WHM API 1 function determines whether to limit the search results to certificates currently registered with a registered certificate authority (e.g. Comodo, Let's Encrypt). Using this parameter will ensure that self-signed certificates are not included in the results.

    Thank you.
     
  5. Haym

    Haym Active Member

    Joined:
    May 12, 2017
    Messages:
    28
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Perfect — makes sense once you know!

    Thanks
     
Loading...

Share This Page