Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleEnsure your application has the necessary plugins enabled - OAuth2.0 and REST API Auth Scope
  1. Go to Admin > Application Manager

Screen Shot 2024-04-02 at 4.36.12 PM.png
  1. Search for the following plugins to verify they are installed and enabled:

    1. OAuth 2.0

    2. REST API Auth Scope

Screen Shot 2024-04-02 at 4.40.48 PM.pngScreen Shot 2024-04-02 at 4.40.29 PM.png
Expand
titleCreate a an ssh key pair and upload the public key certificate file to your ServiceNow instance to be used during authenticating requests

ServiceNow uses OAuth2.0 JWT API endpoint to authenticate external requests. Therefore we need to upload a public key to ServiceNow so it can verify the integrity of JWT tokens signed by clients (ie. Iguana X), ensuring secure authentication of external requests.

  1. Use OpenSSL command line to generate a key pair. You can use the following sample terminal commands:

Code Block
openssl genrsa -out private.pem 1024
openssl req -new -x509 -key private.pem -out public.cer -days 365
  1. Upload the public key to the X.509 Certificates table. You’ll use the private key in Iguana later.

    1. Use the explorer in the All tab to navigate to System Definition > Certifications.

    2. Click New, fill out the required information and paste your public key.

Screen Shot 2024-04-04 at 12.59.33 PM.pngScreen Shot 2024-04-04 at 1.16.22 PM.png

...