Inspect the signer certificate and confirm it chains to the root CA you minted in Step 2:
Print the signer chain
openssl pkcs7 -inform DER -in sig.p7 -print_certs -noout
Expected output
subject=CN=REST API Code Signing, O=Example, C=USissuer=CN=REST API Code Signing Root, O=Example, C=USsubject=CN=REST API Code Signing Root, O=Example, C=USissuer=CN=REST API Code Signing Root, O=Example, C=US
The signer certificate’s issuer matching the root’s subject confirms the signing certificate chains to the CA minted in Step 2.
You have completed a fully API-driven code-signing flow: authenticated with dual login, minted a signing CA, deployed a PKI Signing service with an embedded signing certificate, submitted a payload, retrieved the CMS signature, and verified it with OpenSSL.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.