Turn on and configure Code Signing on your protected instance.
始める前に
Roles required:
- admin
- security_admin
- codesigning_admin
- sn_kmf.cryptographic_manager
手順
-
On your PPI, navigate to to open the Code Signing configuration page.
-
In the Instance type field, select protected
instance.
-
Select the Next button.
-
Select the Please confirm the Code Signing configuration update set was imported and committed check box.
-
Select the Next button.
-
Wait for the certificate installation to complete.
A blue alert message displays indicating that items from the configuration file are installing. The alert disappears in a few seconds when the installation finishes.
-
Next to Attachments in the Runtime/notarization key pair and certificate section select +Add File to upload a cryptographic key pair (p12 file
extension) to use for runtime/notarization purposes.
You can re-use a key pair from the trusted instance or upload a new one
specifically for this use.
ヒント: If the +Add
File option is not available, verify that you are in the
Global scope, and that you have the sn_kmf.cryptographic_manager
role.
-
In the Password field, enter the password for the uploaded key pair.
-
Select Import.
-
Select Continue to move to the next section.
-
Wait while your instance performs a guardrail check.
This check scans your instance for any invalid or missing signatures, and might take some time to complete. Don't exit or refresh the page until the scan completes.
This workflow identifies signatures that were
generated with expired or inactive certificates and re-signs the affected records. To improve performance, the workflow now divides the process into multiple events and runs them in parallel.
-
If the scan finds invalid signatures, select Download Report.
Selecting Download Report downloads a report (scan_report.txt) that you can use to investigate and fix the invalid signatures.
After resolving errors, refresh the page to re-run the check.
-
If there are no errors, select Complete setup.
-
Wait for the configuration jobs to complete.
Your instance runs one or more jobs to complete the configuration process. Don’t exit or refresh the page until the jobs have finished. When finished, you should see a Code Signing configuration completed
successfully message.
タスクの結果
Signature validation is now being enforced on your production instance. You can verify successful completion by looking at your system properties. Look for the
com.snc.kmf.signature.validation.flag property on the System Properties [sys_property] table, and verify that it has a value of true. Verify that the
com.snc.kmf.signature.validation.certificate_trust property doesn’t have an empty value.