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:
프로시저
-
In your local environment, navigate to the directory containing the signRecords.sh script.
-
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
-
If prompted, enter the password for the keystore.
Press Enter if there’s no password.
-
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:
-
Import the updated application back into your instance by applying remote changes in Studio.