=pod =head1 NAME openssl - OpenSSL command line tool =head1 SYNOPSIS B I [ I ] [ I ] =head1 DESCRIPTION OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) network protocols and related cryptography standards required by them. The B program is a command line tool for using the various cryptography functions of OpenSSL's B 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 =head1 COMMAND SUMMARY The B program provides a rich variety of commands (I in the SYNOPSIS above), each of which often has a wealth of options and arguments (I and I in the SYNOPSIS). =head2 STANDARD COMMANDS =over 10 =item B Parse an ASN.1 sequence. =item B Certificate Authority (CA) Management. =item B Cipher Suite Description Determination. =item B Certificate Revocation List (CRL) Management. =item B CRL to PKCS#7 Conversion. =item B Message Digest Calculation. =item B Diffie-Hellman Data Management. =item B DSA Data Management. =item B DSA Parameter Generation. =item B Encoding with Ciphers. =item B Error Number to Error String Conversion. =item B Generation of Diffie-Hellman Parameters. =item B Generation of DSA Parameters. =item B Generation of RSA Parameters. =item B Generation of hashed passwords. =item B PKCS#7 Data Management. =item B X.509 Certificate Signing Request (CSR) Management. =item B RSA Data Management. =item B This implements a generic SSL/TLS client which can establish a transparent connection to a remote server speaking SSL/TLS. It's intended for testing purposes only and provides only rudimentary interface functionality but internally uses mostly all functionality of the OpenSSL B library. =item B This implements a generic SSL/TLS server which accepts connections from remote clients speaking SSL/TLS. It's intended for testing purposes only and provides only rudimentary interface functionality but internally uses mostly all functionality of the OpenSSL B library. It provides both an own command line oriented protocol for testing SSL functions and a simple HTTP response facility to emulate an SSL/TLS-aware webserver. =item B SSL Connection Timer. =item B SSL Session Data Management. =item B S/MIME mail processing. =item B Algorithm Speed Measurement. =item B X.509 Certificate Verification. =item B OpenSSL Version Information. =item B X.509 Certificate Data Management. =back =head2 MESSAGE DIGEST COMMANDS =over 10 =item B MD2 Digest =item B MD5 Digest =item B MDC2 Digest =item B RMD-160 Digest =item B SHA Digest =item B SHA-1 Digest =back =head2 ENCODING AND CIPHER COMMANDS =over 10 =item B Base64 Encoding =item B Blowfish Cipher =item B CAST Cipher =item B CAST5 Cipher =item B DES Cipher =item B Triple-DES Cipher =item B IDEA Cipher =item B RC2 Cipher =item B RC4 Cipher =item B RC5 Cipher =back =head1 PASS PHRASE ARGUMENTS Several commands accept password arguments, typically using B<-passin> and B<-passout> for input and output passwords respectively. These allow the password to be obtained from a variety of sources. Both of these options take a single argument whose format is described below. If no password argument is given and a password is required then the user is prompted to enter one: this will typically be read from the current terminal with echoing turned off. =over 10 =item B the actual password is B. Since the password is visible to utilities (like 'ps' under Unix) this form should only be used where security is not important. =item B obtain the password from the environment variable B. Since the environment of other processes is visible on certain platforms (e.g. ps under certain Unix OSes) this option should be used with caution. =item B the first line of B is the password. If the same B argument is supplied to B<-passin> and B<-passout> arguments then the first line will be used for the input password and the next line for the output password. B need not refer to a regular file: it could for example refer to a device or named pipe. =item B read the password from the file descriptor B. This can be used to send the data via a pipe for example. =item B read the password from standard input. =back =head1 SEE ALSO L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L =head1 HISTORY The openssl(1) document appeared in OpenSSL 0.9.2 =cut