Pulling events using certificate method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 03:43 AM
Hi,
I would like to know if it is possible to receive events using the certificate method. If yes, kindly notify me with the document link as I have been looking for this for quite a long time.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 05:43 AM
Hi @Hariharan_A,
- Certificate-based authentication lets you mutually authenticate user logins or inbound API requests using certificates from a trusted Certificate Authority (CA).
- To pull events using the certificate method in ServiceNow, you generally need to follow these steps:
1. Create an Integration: First, create an integration in ServiceNow that will be used to authenticate and authorize your external application to pull events.
2. Generate a Certificate: Generate a certificate and private key pair that will be used for authentication. This can often be done using tools like OpenSSL.
3. Upload the Certificate: Upload the certificate to the ServiceNow instance under the appropriate integration record.
4. Configure Event Source: Configure the external system or event source to send events to your ServiceNow instance using the certificate-based authentication method.
5. Create an Authentication Profile: In ServiceNow, create an authentication profile that references the uploaded certificate and private key. This profile will be used to establish the secure connection.
6. Write Integration Code: In your external application, write the necessary code to initiate a secure connection to the ServiceNow instance using the authentication profile and pull the events.
7. Handle Events: Once the connection is established, your code can make API requests to pull events from the ServiceNow instance. Depending on your integration, this could involve using APIs like the Event Management API or other relevant APIs.
8. Process Events: Process the pulled events as needed in your external application. This could involve logging, analyzing, or taking specific actions based on the event data.
You can also refer to the specific documentation provided by ServiceNow for the version you're using, as the steps and APIs might vary.
https://docs.servicenow.com/en-US/bundle/vancouver-platform-security/page/integrate/authentication/t...
If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.
Thanks,
Shreya Wani