sig.p7 and the original payload in payload, verify with OpenSSL. Recreate the exact payload bytes first:
1
Recreate the signed payload
Recreate the signed payload
2
Verify the CMS signature
Verify the CMS signature
-noverify skips chain trust validation so you can confirm the cryptographic signature independently of the trust store:Expected output
3
Inspect the signer chain
Inspect the signer certificate and confirm it chains to the root CA you minted in Step 2:The signer certificate’s
Print the signer chain
Expected output
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.

