Verify the Signature (Windows)

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

›_ Console

C:\OpenSSL-Win64\bin>openssl cms -engine pkcs11 -verify -in C:\localCA\decryptedsignedmessage.txt -CAfile C:\localCA\newcerts\ca.cer

-out originalmessage.txt C:\localCA\newcerts\sender\SenderSignCertificate.cer
tmp9287jibx.jpg

Figure 53: Openssl verify command output

  1. Verify the signature of signedmessage.txt using the sender’s certificate for ECC

›_ Console

C:\OpenSSL-Win64\bin>openssl cms -engine pkcs11 -verify -in C:\localCA\signedmessage.txt -CAfile C:\localCA\newcerts\ca.cer -out originalmessage.txt C:\localCA\newcerts\sender\SenderSignCertificate.cer
tmp1f_zja31.jpg

Figure 54: Openssl verify command output

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

This completes the Integration of OpenSSL 3.0 with Utimaco SecurityServer.