Upload the public/private keypair to the MID Server
リリースバージョン: Australia
更新日 2026年03月12日
所要時間:5分
Upload your public/private keypair to your MID Server. This keypair enables the MID Server to handle authentication requests from your instance.
始める前に
Role required: none
Since ServiceNow lacks access to the private key, it can't pair it with the public key to decrypt the symmetric key, and then decrypt the credential. If the MID Server tries to use this encrypted
credential, it's unable to decrypt the credential for authentication without access to the private key.
In these steps, you upload the private key to the MID Server to complete the Public/Private keychain. This upload grants the MID Server access without giving ServiceNow access.
To grant the MID Server access to the private key, you must construct a command to be run as administrator in Powershell. In this example, the command is for the Azure Windows virtual machine.
重要:
Ensure that the system you perform these steps on has access to both the MID Server and the keypair file.
Create a text file, and paste the path into the file.
In the text file, add the following after the path:
-a your_identity_key_alias
Replace your_identity_key_alias with the name of the identity key alias that you created when you uploaded your public certificate.
Find and copy the full path to your key pair file.
注:
If you used the names in these steps that file is named sm_keypair_bundle.pem.
In your text file, add this path to the end of the line, adding a space between this path and the previous information.
The text within your text file should look similar to this
example:
C:\Users\<your_user_account>\Documents\SM_Implementation\mid.utah-07-08-2022__patch4b01-31-2023_02-07-2023_1702.windows.x86-64\sm_ig_MIDS\bin\scripts\manage-certificates.bat -a your_identity_key_alias C:\Users\<your_user_account>\Desktop\sm_keypair_bundle.pem
注:
In
this example, the sm_keypair_bundle.pem file is on the desktop to make the path shorter.
Copy the entire text of your text file to the clipboard.
Find Powershell on your system, and choose the Run as Administrator option.
Paste the text from your text file into Powershell, and press Enter.
If successful, you can see the following message:
Installed certificate with alias: <your_identity_key_alias> into the MID keystore.
ヒント:
If you don't see this message, ensure that your command has no errors, spaces, or unnecessary quotes. Ensure that the full path is typed correctly.
Restart your MID Server by navigating to your MID Server record, right-clicking the record, and selecting Restart MID.
Restarting the MID Server synchronizes the uploaded key pair in the MID keystore for use with operations. Wait for the MID Server to restart, with a status of Up and a validated value of
Yes before continuing.