Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2461)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6619)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5332)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
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, 2321🔥, 0💬
Popular Posts:
Certificate summary - Owner: www.ettoday.net, IT, "Sen Information Co., Ltd.", L=Taipei, ST=Taiwan, ...
Certificate summary - Owner: *.jigsy.com, Domain Control Validated - RapidSSL(R), See www.rapidssl.c...
Can you show me an example of X.509 certificate data structure? Here is an example of X.509 Version ...
Certificate summary - Owner: *.azurewebsites.net, OrganizationName, Microsoft, L=Redmond, ST=WA, US ...
How to read general information of a server certificate in Firefox? What is the meaning of "MD5 Fing...