Verify the Signature

  1. Verify the signature of decryptedsignedmessage.txt using the sender’s certificate

›_ Console

# openssl cms -engine pkcs11 -verify -in decryptedsignedmessage.txt - CAfile /localCA/newcerts/ca.cer -out originalmessage.txt/localCA/newcerts/sender/SenderSignCertificate.cert
tmpo8tiigkf.jpg

Figure 37: Openssl verify command output

  1. Open the originalmessage.txt and verify the message which you have typed in the message.txt

tmp3era6ek0.png

Figure 38: Content of original message file