Identify existing certificates, their validity, and hosting locations (servers or network devices).
Ensure certificates have valid relationships with Configuration Items (CIs) for ownership and support details.
Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent. Join the Challenge.
5 hours ago
In this article, I share my experience configuring the Certificate Inventory Management (CIM) module in ServiceNow, the challenges faced during discovery, and practical approaches that worked. If you’re planning to implement CIM, these insights will help you anticipate potential hurdles and plan effectively.
CIM, part of the ITOM suite, helps organizations manage the inventory and lifecycle of TLS/SSL certificates. Expired certificates often lead to unexpected outages, and manual tracking is both time-consuming and error prone. CIM provides:
To establish a complete CIM process, we need to ingest the existing certificate inventory to ServiceNow with all the required details and relationship.
Certificate Discovery
Impact Analysis
There were several approaches to discover certificates.
We started with Port scan approach by enabling TLS/SSL port probe which automatically started to capture TLS certificates in the next horizontal discovery schedules.
Certificates discovered were stored in the Unique Certificate "cmdb_ci_certificate" table, with relationships to hosting CIs maintained in CMDB. The relationship information is stored in "cmdb_rel_ci" table with Used by::Uses type of relation.
Incomplete Discovery
SSLHandshakeException: Non-compatible TLS protocol (e.g., TLS10 vs TLS12)IOException: Connection forcibly closedSSLException: Unrecognized SSL messageWe have to spent time analyzing ECC queue logs for root causes.
CI Discovery Issues
So, we were not able to achieve 100% discovery with this approach.
Below Alternate Methods were tried:
cmdb_ci_endpoint_http table, but results were inconsistent in this approach too.We adopted a hybrid approach:
Conclusion
I hope these insights and challenges help those planning to implement Certificate Inventory Management (CIM) in ServiceNow. Understanding these details upfront will allow you to assess potential roadblocks and design a more effective implementation strategy.
Feel free to share your experiences, lessons learned, or success stories with CIM in the comments. I would love to hear how others approached this journey!
