Categories:
DH Keys (39)
DSA Keys (69)
EC Keys (335)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (152)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1963)
Revoked Certificates (30)
Root CA (87)
RSA Keys (1812)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
OpenSSL Verify Signed Documents with RSA Keys
What is the process of verifying the signed document with RSA keys using OpenSSL commands? I received a signed document and was to verify it with senders RSA public key.
✍: FYIcenter.com
Here are steps your need to follow to verify a signed document with sender's RSA public key
using OpenSSL commands:
1. Verify that you received 3 files from the sender: the document file, the signature file and the RSA public key file.
2. Generate a new digest string from the document using the same algorithm used by the sender.
3. Decrypt the old digest string from the signature file using the RSA public key.
4. Compare the new digest string with the old digest string.
5. If digest strings match with each other, the document signature is valid.
5. If digest strings do not match with each other, the document signature is invalid.
The diagram below shows you the document signature verifying process:
⇒ OpenSSL "rsautl -verify" - RSA Signature Verification
⇐ OpenSSL "rsautl -sign" - RSA Signature Generation
2017-03-27, 1261👍, 0💬
Popular Posts:
How to import a root CA certificate into IE? I have the certificate in a file. If you want to import...
Certificate Summary: Subject: login.live.com Issuer: VeriSign Class 3 Extended Validation SSL CA Exp...
What is the file format of the certificate file exported by the Microsoft "certutil -store" command?...
Can I build an RSA public key from an OpenSSL configuration file? Yes, you can build an RSA public k...
Certificate Summary: Subject: AAA Certificate Services Issuer: AAA Certificate Services Expiration: ...