Collections:
Other Resources:
OpenSSL "rsautl -sign" - RSA Signature Generation
What is the purpose of the OpenSSL "rsautl -sign" command? Can I use it to sign a document?
✍: FYIcenter.com
Yes, you can use OpenSSL "rsautl -sign" command to sign a document.
But you need other OpenSSL commands to generate a digest from the document first
as shown in the following test:
C:\Users\fyicenter>dir \windows\system32\notepad.exe 07/09/2015 01:42 PM 179,712 notepad.exe C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> dgst -sha1 -binary -out sha1.dgt \windows\system32\notepad.exe OpenSSL> rsautl -sign -inkey my_rsa.key -in sha1.dgt -out sha1_signed.dgt OpenSSL> pkey -in my_rsa.key -pubout -out my_rsa_pub.key
OpenSSL commands used in this test are:
You can now send out notepad.exe, sha1_signed.dgt, and my_rsa_pub.key, as a "signed" document.
⇒ OpenSSL Verify Signed Documents with RSA Keys
⇐ OpenSSL Signing Documents with RSA Keys
2017-04-04, ∼9656🔥, 0💬
Popular Posts:
Certificate Summary: Subject: Class 2 Primary CA Issuer: Class 2 Primary CA Expiration: 2019-07-06 2...
Can I sign my own CSR with a longer expiration date using the OpenSSL "req -x509" command? I want to...
Certificate summary - Owner: *.studiopress.com, Copyblogger Media LLC, L=Denver, ST=Colorado, US Iss...
Certificate Summary: Subject: google.com Issuer: Google Internet Authority Expiration: 2013-06-07 19...
Certificate Summary: Subject: google.com Issuer: Google Internet Authority G2 Expiration: 2016-05-04...