Using the Signing Tool

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 3분
  • Learn how to use the Signing Tool to sign supported records in ServiceNow applications.

    시작하기 전에

    Role required: admin

    To perform these steps, you must have the following:

    • A ServiceNow application that has records to be signed.
    • A private key for signing records.
    • The signRecords.sh script in your local environment, with execute permission.
      중요사항:
      The signRecords.sh script is included as part of the signing-tool jar file, which you must request from ServiceNow customer support.

    프로시저

    1. In your local environment, navigate to the directory containing the signRecords.sh script.
    2. Use the following command format to sign your records:
      ./signRecords.sh -d [Path to the root directory of the ServiceNow Application to Sign] -f [Path to the Keystore file]
      For example:
      ./signRecords.sh -d /users/abc/ServiceNow-App-1 -f /users/abc/codesigning.p12
    3. If prompted, enter the password for the keystore.
      Press Enter if there’s no password.
    4. Review the output to confirm a successful signing.
      Sep 26, 2022 2:41:09 PM com.snc.java.commands.ACommand start
      INFO: CODESIGN: executing codesigning...
      Sep 26, 2022 2:41:09 PM com.snc.core.codesigning.CodeSignerSupplier get
      INFO: CODESIGN: signing record for documentId: 65e811327702111057416efe7c5a994f
      Sep 26, 2022 2:41:11 PM com.snc.java.commands.ACommand start
      INFO: CODESIGN: codesigning successfully completed!
      

      In the preceding output example, the Signing Tool used the provided keystore file to sign the record. You can also see that:

      • The script found a supported record 65e811327702111057416efe7c5a994f and signed it.
      • In the ServiceNow-App-1 directory, two records created: sys_certificate.xml and sn_kmf_record_signature.xml.
    5. Import the updated application back into your instance by applying remote changes in Studio.
      For more information, see Legacy - Apply remote changes.