Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

GoDaddy - Certificate Management pattern

mhashemi
Mega Sage

I need to discover certificates held at GoDaddy. While I work on getting the required API key, I went looking for a documentation describing how to use the pattern. As far as I can tell, simply adding a cert management credential is not enough, so I will have to add a discovery job. I thought the "Pattern" type might work, but I do not see how to specify the pattern I want to run.

 

What am I missing here? Is it easier than I am making it?

8 REPLIES 8

SurabhiT
ServiceNow Employee

Hi Mike,
For getting the Certificates Discovered by a CA -
step1. Add a credentials for a particular CA.
step2. You need to schedule a discovery for the Certificates->
All-> Discovery Schedule-> new
Name- Name of the CA
Discover-> Certificates
Certificate Discovery type-> CA Trust discovery
Select the Mid server
Click on Submit for this discovery schedule.

Once you submit and come back again, you will see another tab created with a name 'Serverless Execution Pattern' , please add the specific pattern for GoDaddy. Go inside the pattern that you have selected and provide the values.

Link-> https://www.servicenow.com/docs/bundle/yokohama-it-operations-management/page/product/discovery/task...

https://www.servicenow.com/docs/bundle/yokohama-it-operations-management/page/product/discovery/refe...

If you need help or have any queries, please let me know.

That looks like what I need (for Xanadu). I will get the API credential created and give it a run.

HeyMarkWarmack
Tera Expert

@mhashemi - Did you ever get your GoDaddy cert inventory working?  We have been playing with getting the inventory into our DEV instance, all setup on the API credential and I have followed all the suggested docs/KBs/videos and we get the "Go Daddy Root Certificate Authority - G2" and the "*.godaddy.com" certs but nothing in the inventory beyond the one base CA cert.  I am seeing all my printer certs, bloating my numbers, really want all the GoDaddy and Mircosoft certs in the inventory.  Also setup a dozen URL certs and getting those fine.

Anything that you did that worked would be appreciated.

 

@SurabhiT - I have seen several posts and can't find definitive 'settings' that work for anyone.

I am getting creds or settings are wrong error "Certificate List is Empty - Please check Credentials and Configurations (ca_api_url, ca_api_version, include_cert_status)".  I have checked my creds with the GoDaddy admin and they are correct.  I have played with ALL of the settings but never really gotten any of our GoDaddy certs into inventory.  I tried just getting 'Installed' in the include_cert_status, blank Limit, 20 to 200 Limit.  No go.

Any suggestions would be appreciated.

GoDaddy_Pattern_Serverless_Settings.jpg

Chris33
Tera Contributor

Chris33_0-1750862440020.png

Change the limit to less than 200.  In our case we were trying to specify the URL as https://api.godaddy.com/v1/certificates  but in the pattern there is a URL builder that adds the V1 and certificates so that was unnecessary.   check your start offset and your limit value.