Create a JKS file
Generate a Java KeyStore (JKS) file for OAuth authentication setup. This process involves extracting the private key from a credentials JSON file and converting it through PEM format to create the required JKS file.
Before you begin
Role required: admin
This task requires a credentials JSON file from the Card Data Security tokenizer service. See Initial setup for Vault schema, Connections and Service Account for Card data security (KB2830577) for more information.
Procedure
Create a blank file in a text editor.
From the credentials JSON file, copy the
privateKeyvalue into the blank file.Replace the
\nvalues with new line characters.Save the file with the extension
.pem.Convert the
.pemfile to a JKS file.When converting the file, you will provide the key store password and the key alias—make a note of these.
Result
A JKS file is generated for use in your ServiceNow instance.