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 Signing Documents with RSA Keys
What is the process of signing a document with RSA keys using OpenSSL commands? I was told to deliver a document with digital signature.
✍: FYIcenter.com
Here are steps your need to follow to sign a document with your RSA private key using OpenSSL commands:
1. Get the document to be signed ready.
2. Generate a digest string from the document using "md5", "sha1", or "dgst" OpenSSL commands.
3. Select an RSA private key to be used to sign the document.
4. Sign (encrypt) the digest with the RSA private key using the "rsautl sign" command.
5. Extract the RSA public key from the RSA private key with "pkey -pubout" command
6. Send the document, the signed digest, and the RSA public key together as the "signed document".
The diagram below shows you the document signing process:
⇒ OpenSSL "rsautl -sign" - RSA Signature Generation
⇐ OpenSSL "rsautl -oaep" - OAEP Padding Option
2017-04-04, 2679🔥, 0💬
Popular Posts:
What is ASN.1 INTEGER field type? How to specify INTEGER field type in OpenSSL "asn1parse" command? ...
Certificate summary - Owner: *.rapidshare.com, Premium SSL Wildcard, IT, RapidShare AG, STREET=Gewer...
Certificate Summary: Subject: VeriSign Class 3 Extended Validation SSL CA Issuer: VeriSign Class 3 P...
How can I use Microsoft "certutil -verify" command? What are command options supported by "certutil ...
What is getaCert.com Self-Signed Certificate Generator? getaCert.com Self-Signed Certificate Generat...