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.
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:
2017-04-04, 1163👍, 0💬
How to list all commands in OpenSSL? I don't remember exactly what is the command to generate a CSR....
How to delete a root CA certificate from Google Chrome? I don't know this CA (Certificate Authority)...
How to delete a certificate from a certificate store with Microsoft "certutil" tool? If you want to ...
How to see the signing chain of a server certificate in IE? I want to know the root CA who signs the...
Certificate summary - Owner: *.4shared.com, Domain Control Validated, *.4shared.com Issuer: SERIALNU...