-
Create a text file message.txt under C:\localCA directory and enter any value in it
|
›_ Console |
|
-
Sign the message.txt file using the sender’s private key
|
›_ Console |
|---|
|
Figure 53: Openssl sign command output
Here, OPENSSLWINSLOT is the token label and SenderKey is the key on the HSM. Provide Cryptouser PIN when prompted.
-
Encrypt the signedmessage.txt using the receiver’s public key, supplied with the receiver’s certificate
|
›_ Console |
|
Figure 54: Openssl encrypt command output