Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (69)
EC Keys (599)
Firefox (31)
General (12)
Google Chrome (25)
Intermediate CA (152)
Java VM (33)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (22)
OpenSSL (237)
Other (7)
Portecle (38)
Publishers (2744)
Revoked Certificates (30)
Root CA (89)
RSA Keys (2261)
Tools (46)
Tutorial (3)
What Is (22)
Windows (129)
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, 1860👍, 0💬
Popular Posts:
Why am I getting the "MSVCR71.dll is missing" error when running the "certutil" command on my Window...
Certificate Summary: Subject: Sonera Class2 CA Issuer: Sonera Class2 CA Expiration: 2021-04-06 07:29...
Where to click to get more Web site information in Firefox 8? I want to know if the page I am readin...
Certificate summary - Owner: *.xunlei.com, System engineering department, ShenZhen Thunder Networkin...
How to generate a pair of EC Private Key and Public Key? To help you to generate a pair of EC Privat...