Run Certificate Discovery via individual URL scans
To initiate certificate discovery through URL scans, you must manually include individual URLs and configure a new certificate Discovery schedule.
Before you begin
Role required: discovery_admin or admin
About this task
Only the certificates that are available on the server during URL scans can be discovered. To confirm the available certificates, use the following command:
openssl s_client -showcerts
-connect <URL>:<PORT> </dev/nullProcedure
Result
When your Discovery schedule runs, it automatically scans for any certificates on the specified URLs and fetches all URLs from the cmdb_ci_endpoint_http table. It then creates a mapping between the URL and the schedule in the sn_disco_certmgmt_cert_url_sched_m2m.
With Service Mapping enabled, by default, it creates a relationship between the HTTP endpoint and application when it creates an entry in cmdb_ci_endpoint_http. For example, the Amazon application is automatically connected to amazon.com.
The relationship is: cmdb_ci_endpoint_http[parent] --> [Implement End Point To::Implement End Point From] --> cmdb_ci_appl[child].
If the above relationship exists, the URL certificate discovery creates an additional relationship between the certificate and application. This relationship is: cmdb_ci_appl[parent] --> [Uses::Used by] --> cmdb_ci_certificate[child].