MAN page from Trustix openssl-0.9.7m-1tr.i586.rpm
Section: OpenSSL (1)
openssl - OpenSSL command line tool
openssl [ list-standard-commands | list-message-digest-commands | list-cipher-commands ]
openssl no-XXX [ arbitrary options ]
OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL
v2/v3) and Transport Layer Security (TLS
v1) network protocols and relatedcryptography standards required by them.
The openssl program is a command line tool for using the variouscryptography functions of OpenSSL's crypto library from the shell. It can be used for
o Creation of RSA, DH and DSA key parameters o Creation of X.509 certificates, CSRs and CRLs o Calculation of Message Digests o Encryption and Decryption with Ciphers o SSL/TLS Client and Server Tests o Handling of S/MIME signed or encrypted mail
program provides a rich variety of commands (command
above), each of which often has a wealth of options and arguments(command_opts
in the SYNOPSIS
The pseudo-commands list-standard-commands, list-message-digest-commands,and list-cipher-commands output a list (one entry per line) of the namesof all standard commands, message digest commands, or cipher commands,respectively, that are available in the present openssl utility.
The pseudo-command no-XXX tests whether a command of thespecified name is available. If no command named XXX exists, itreturns 0 (success) and prints no-XXX; otherwise it returns 1and prints XXX. In both cases, the output goes to stdout andnothing is printed to stderr. Additional command line argumentsare always ignored. Since for each cipher there is a command of thesame name, this provides an easy way for shell scripts to test for theavailability of ciphers in the openssl program. (no-XXX isnot able to detect pseudo-commands such as quit,list-...-commands, or no-XXX itself.)
- Parse an ASN.1 sequence.
- Certificate Authority (CA) Management.
- Cipher Suite Description Determination.
- Certificate Revocation List (CRL) Management.
- CRL to PKCS#7 Conversion.
- Message Digest Calculation.
- Diffie-Hellman Parameter Management.Obsoleted by dhparam.
- DSA Data Management.
- DSA Parameter Generation.
- Encoding with Ciphers.
- Error Number to Error String Conversion.
- Generation and Management of Diffie-Hellman Parameters.
- Generation of Diffie-Hellman Parameters.Obsoleted by dhparam.
- Generation of DSA Parameters.
- Generation of RSA Parameters.
- Online Certificate Status Protocol utility.
- Generation of hashed passwords.
- PKCS#12 Data Management.
- PKCS#7 Data Management.
- Generate pseudo-random bytes.
- X.509 Certificate Signing Request (CSR) Management.
- RSA Data Management.
- RSA utility for signing, verification, encryption, and decryption.
- This implements a generic SSL/TLS client which can establish a transparentconnection to a remote server speaking SSL/TLS. It's intended for testingpurposes only and provides only rudimentary interface functionality butinternally uses mostly all functionality of the OpenSSL ssl library.
- This implements a generic SSL/TLS server which accepts connections from remoteclients speaking SSL/TLS. It's intended for testing purposes only and providesonly rudimentary interface functionality but internally uses mostly allfunctionality of the OpenSSL ssl library. It provides both an own commandline oriented protocol for testing SSL functions and a simple HTTP responsefacility to emulate an SSL/TLS-aware webserver.
- SSL Connection Timer.
- SSL Session Data Management.
- S/MIME mail processing.
- Algorithm Speed Measurement.
- X.509 Certificate Verification.
- OpenSSL Version Information.
- X.509 Certificate Data Management.
MESSAGE DIGEST COMMANDS
- MD2 Digest
- MD5 Digest
- MDC2 Digest
- RMD-160 Digest
- SHA Digest
- SHA-1 Digest
ENCODING AND CIPHER COMMANDS
- Base64 Encoding
- bf bf-cbc bf-cfb bf-ecb bf-ofb
- Blowfish Cipher
- cast cast-cbc
- CAST Cipher
- cast5-cbc cast5-cfb cast5-ecb cast5-ofb
- CAST5 Cipher
- des des-cbc des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb des-ede-ofb des-ofb
- DES Cipher
- des3 desx des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb
- Triple-DES Cipher
- idea idea-cbc idea-cfb idea-ecb idea-ofb
- IDEA Cipher
- rc2 rc2-cbc rc2-cfb rc2-ecb rc2-ofb
- RC2 Cipher
- RC4 Cipher
- rc5 rc5-cbc rc5-cfb rc5-ecb rc5-ofb
- RC5 Cipher
PASS PHRASE ARGUMENTS
Several commands accept password arguments, typically using -passin
for input and output passwords respectively. These allowthe password to be obtained from a variety of sources. Both of theseoptions take a single argument whose format is described below. If nopassword argument is given and a password is required then the user isprompted to enter one: this will typically be read from the currentterminal with echoing turned off.
- the actual password is password. Since the password is visibleto utilities (like 'ps' under Unix) this form should only be usedwhere security is not important.
- obtain the password from the environment variable var. Sincethe environment of other processes is visible on certain platforms(e.g. ps under certain Unix OSes) this option should be used with caution.
- the first line of pathname is the password. If the same pathnameargument is supplied to -passin and -passout arguments then the firstline will be used for the input password and the next line for the outputpassword. pathname need not refer to a regular file: it could for examplerefer to a device or named pipe.
- read the password from the file descriptor number. This can be used tosend the data via a pipe for example.
- read the password from standard input.
(1) document appeared in OpenSSL 0.9.2.The list-XXX-commands
pseudo-commands were added in OpenSSL 0.9.3;the no-XXX
pseudo-commands were added in OpenSSL 0.9.5a.For notes on the availability of other commands, see their individualmanual pages.
- COMMAND SUMMARY
- STANDARD COMMANDS
- MESSAGE DIGEST COMMANDS
- ENCODING AND CIPHER COMMANDS
- PASS PHRASE ARGUMENTS
- SEE ALSO
This document was created byman2html,using the manual pages.