Add SSL certificates for the MID Server

Configure the MID Server to connect over SSL.

Before you begin

Role required: admin

Procedure

  1. Open a command prompt and navigate to the folder containing the JRE keytool.
    An example path might be: C:\Program Files (x86)­\Service­Now\­<MidServer(­s)­>\agent\­jre\­bin
  2. Enter the following keytool command to import a certificate into the MID Server's cacerts keystore:
    keytool -import -alias <certificate alias> -file "<path to certificate>" -keystore "<path to MID Server(­s)­>\agent\­jre\­lib\­security\­cacerts"

    For example, you might enter: keytool -import -alias MyCA -file "C:\myca.cer" -keystore "C:\Program Files (x86)­\Service­Now\­MIDserver\agent\­jre\­lib\­security\­cacerts"

    Note: Keytool prompts for a certificate password. If the certificate is for a CA, keytool also asks whether to trust the certificate authority. To add a certificate to an instance, see Upload a certificate to an instance.