OpenSSL "rsautl" Command Options

Q

What can I use OpenSSL "rsautl" command for? What are options supported by the "rsautl" command?

✍: FYIcenter.com

A

OpenSSL "rsautl" command is a utility to sign, verify, encrypt and decrypt data using RSA private key and public key.

Here are options supported by the "rsautl" command:

C:\Users\fyicenter>\local\openssl\openssl.exe

OpenSSL> rsautl -help
Usage: rsautl [options]
-in file        input file
-out file       output file
-inkey file     input key
-keyform arg    private key format - default PEM
-pubin          input is an RSA public
-certin         input is a certificate carrying an RSA public key
-ssl            use SSL v2 padding
-raw            use no padding
-pkcs           use PKCS#1 v1.5 padding (default)
-oaep           use PKCS#1 OAEP
-sign           sign with private key
-verify         verify with public key
-encrypt        encrypt with public key
-decrypt        decrypt with private key
-hexdump        hex dump output
-engine e       use engine e, possibly a hardware device.
-passin arg    pass phrase source
error in rsautl

 

OpenSSL "rsautl -encrypt" - Encryption with RSA Public Key

OpenSSL "rsautl" Command for RSA Keys

OpenSSL "rsautl" Command for RSA Keys

⇑⇑ OpenSSL Tutorials

2017-06-16, 8091👍, 0💬