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. 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 |
Upload the public key to the X.509 Certificates table. You’ll use the private key in Iguana later. Use the explorer in the All tab to navigate to System Definition > Certifications. Click New, fill out the required information and paste your public key.
|