| Commit | Line | Data |
|---|---|---|
| e3261593 | 1 | .\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.19) |
| 8b0cefbb JR |
2 | .\" |
| 3 | .\" Standard preamble: | |
| 4 | .\" ======================================================================== | |
| 8b0cefbb | 5 | .de Sp \" Vertical space (when we can't use .PP) |
| 984263bc MD |
6 | .if t .sp .5v |
| 7 | .if n .sp | |
| 8 | .. | |
| 8b0cefbb | 9 | .de Vb \" Begin verbatim text |
| 984263bc MD |
10 | .ft CW |
| 11 | .nf | |
| 12 | .ne \\$1 | |
| 13 | .. | |
| 8b0cefbb | 14 | .de Ve \" End verbatim text |
| 984263bc | 15 | .ft R |
| 984263bc MD |
16 | .fi |
| 17 | .. | |
| 8b0cefbb JR |
18 | .\" Set up some character translations and predefined strings. \*(-- will |
| 19 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left | |
| e257b235 PA |
20 | .\" double quote, and \*(R" will give a right double quote. \*(C+ will |
| 21 | .\" give a nicer C++. Capital omega is used to do unbreakable dashes and | |
| 22 | .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, | |
| 23 | .\" nothing in troff, for use with C<>. | |
| 24 | .tr \(*W- | |
| 8b0cefbb | 25 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
| 984263bc | 26 | .ie n \{\ |
| 8b0cefbb JR |
27 | . ds -- \(*W- |
| 28 | . ds PI pi | |
| 29 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch | |
| 30 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch | |
| 31 | . ds L" "" | |
| 32 | . ds R" "" | |
| 33 | . ds C` "" | |
| 34 | . ds C' "" | |
| 984263bc MD |
35 | 'br\} |
| 36 | .el\{\ | |
| 8b0cefbb JR |
37 | . ds -- \|\(em\| |
| 38 | . ds PI \(*p | |
| 39 | . ds L" `` | |
| 40 | . ds R" '' | |
| 984263bc | 41 | 'br\} |
| 8b0cefbb | 42 | .\" |
| e257b235 PA |
43 | .\" Escape single quotes in literal strings from groff's Unicode transform. |
| 44 | .ie \n(.g .ds Aq \(aq | |
| 45 | .el .ds Aq ' | |
| 46 | .\" | |
| 8b0cefbb | 47 | .\" If the F register is turned on, we'll generate index entries on stderr for |
| 01185282 | 48 | .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 8b0cefbb JR |
49 | .\" entries marked with X<> in POD. Of course, you'll have to process the |
| 50 | .\" output yourself in some meaningful fashion. | |
| e257b235 | 51 | .ie \nF \{\ |
| 8b0cefbb JR |
52 | . de IX |
| 53 | . tm Index:\\$1\t\\n%\t"\\$2" | |
| 984263bc | 54 | .. |
| 8b0cefbb JR |
55 | . nr % 0 |
| 56 | . rr F | |
| 984263bc | 57 | .\} |
| e257b235 PA |
58 | .el \{\ |
| 59 | . de IX | |
| 60 | .. | |
| 61 | .\} | |
| aac4ff6f | 62 | .\" |
| 8b0cefbb JR |
63 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
| 64 | .\" Fear. Run. Save yourself. No user-serviceable parts. | |
| 65 | . \" fudge factors for nroff and troff | |
| 984263bc | 66 | .if n \{\ |
| 8b0cefbb JR |
67 | . ds #H 0 |
| 68 | . ds #V .8m | |
| 69 | . ds #F .3m | |
| 70 | . ds #[ \f1 | |
| 71 | . ds #] \fP | |
| 984263bc MD |
72 | .\} |
| 73 | .if t \{\ | |
| 8b0cefbb JR |
74 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) |
| 75 | . ds #V .6m | |
| 76 | . ds #F 0 | |
| 77 | . ds #[ \& | |
| 78 | . ds #] \& | |
| 984263bc | 79 | .\} |
| 8b0cefbb | 80 | . \" simple accents for nroff and troff |
| 984263bc | 81 | .if n \{\ |
| 8b0cefbb JR |
82 | . ds ' \& |
| 83 | . ds ` \& | |
| 84 | . ds ^ \& | |
| 85 | . ds , \& | |
| 86 | . ds ~ ~ | |
| 87 | . ds / | |
| 984263bc MD |
88 | .\} |
| 89 | .if t \{\ | |
| 8b0cefbb JR |
90 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" |
| 91 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | |
| 92 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | |
| 93 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | |
| 94 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | |
| 95 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | |
| 984263bc | 96 | .\} |
| 8b0cefbb | 97 | . \" troff and (daisy-wheel) nroff accents |
| 984263bc MD |
98 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' |
| 99 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | |
| 100 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | |
| 101 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | |
| 102 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | |
| 103 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | |
| 104 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | |
| 105 | .ds ae a\h'-(\w'a'u*4/10)'e | |
| 106 | .ds Ae A\h'-(\w'A'u*4/10)'E | |
| 8b0cefbb | 107 | . \" corrections for vroff |
| 984263bc MD |
108 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' |
| 109 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | |
| 8b0cefbb | 110 | . \" for low resolution devices (crt and lpr) |
| 984263bc MD |
111 | .if \n(.H>23 .if \n(.V>19 \ |
| 112 | \{\ | |
| 8b0cefbb JR |
113 | . ds : e |
| 114 | . ds 8 ss | |
| 115 | . ds o a | |
| 116 | . ds d- d\h'-1'\(ga | |
| 117 | . ds D- D\h'-1'\(hy | |
| 118 | . ds th \o'bp' | |
| 119 | . ds Th \o'LP' | |
| 120 | . ds ae ae | |
| 121 | . ds Ae AE | |
| 984263bc MD |
122 | .\} |
| 123 | .rm #[ #] #H #V #F C | |
| 8b0cefbb JR |
124 | .\" ======================================================================== |
| 125 | .\" | |
| 126 | .IX Title "OPENSSL 1" | |
| e3261593 | 127 | .TH OPENSSL 1 "2012-01-04" "1.0.0f" "OpenSSL" |
| e257b235 PA |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 129 | .\" way too many mistakes in technical documents. | |
| 130 | .if n .ad l | |
| 131 | .nh | |
| 984263bc MD |
132 | .SH "NAME" |
| 133 | openssl \- OpenSSL command line tool | |
| 134 | .SH "SYNOPSIS" | |
| 8b0cefbb JR |
135 | .IX Header "SYNOPSIS" |
| 136 | \&\fBopenssl\fR | |
| 137 | \&\fIcommand\fR | |
| 984263bc MD |
138 | [ \fIcommand_opts\fR ] |
| 139 | [ \fIcommand_args\fR ] | |
| 140 | .PP | |
| 01185282 | 141 | \&\fBopenssl\fR [ \fBlist-standard-commands\fR | \fBlist-message-digest-commands\fR | \fBlist-cipher-commands\fR | \fBlist-cipher-algorithms\fR | \fBlist-message-digest-algorithms\fR | \fBlist-public-key-algorithms\fR] |
| 984263bc | 142 | .PP |
| 8b0cefbb | 143 | \&\fBopenssl\fR \fBno\-\fR\fI\s-1XXX\s0\fR [ \fIarbitrary options\fR ] |
| 984263bc | 144 | .SH "DESCRIPTION" |
| 8b0cefbb JR |
145 | .IX Header "DESCRIPTION" |
| 146 | OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (\s-1SSL\s0 | |
| 147 | v2/v3) and Transport Layer Security (\s-1TLS\s0 v1) network protocols and related | |
| 984263bc MD |
148 | cryptography standards required by them. |
| 149 | .PP | |
| 150 | The \fBopenssl\fR program is a command line tool for using the various | |
| 151 | cryptography functions of OpenSSL's \fBcrypto\fR library from the shell. | |
| e257b235 | 152 | It can be used for |
| 984263bc | 153 | .PP |
| 01185282 PA |
154 | .Vb 8 |
| 155 | \& o Creation and management of private keys, public keys and parameters | |
| 156 | \& o Public key cryptographic operations | |
| 984263bc MD |
157 | \& o Creation of X.509 certificates, CSRs and CRLs |
| 158 | \& o Calculation of Message Digests | |
| 159 | \& o Encryption and Decryption with Ciphers | |
| 160 | \& o SSL/TLS Client and Server Tests | |
| 161 | \& o Handling of S/MIME signed or encrypted mail | |
| 01185282 | 162 | \& o Time Stamp requests, generation and verification |
| 984263bc MD |
163 | .Ve |
| 164 | .SH "COMMAND SUMMARY" | |
| 8b0cefbb | 165 | .IX Header "COMMAND SUMMARY" |
| 984263bc | 166 | The \fBopenssl\fR program provides a rich variety of commands (\fIcommand\fR in the |
| 8b0cefbb JR |
167 | \&\s-1SYNOPSIS\s0 above), each of which often has a wealth of options and arguments |
| 168 | (\fIcommand_opts\fR and \fIcommand_args\fR in the \s-1SYNOPSIS\s0). | |
| 984263bc MD |
169 | .PP |
| 170 | The pseudo-commands \fBlist-standard-commands\fR, \fBlist-message-digest-commands\fR, | |
| 171 | and \fBlist-cipher-commands\fR output a list (one entry per line) of the names | |
| 172 | of all standard commands, message digest commands, or cipher commands, | |
| 173 | respectively, that are available in the present \fBopenssl\fR utility. | |
| 174 | .PP | |
| 01185282 PA |
175 | The pseudo-commands \fBlist-cipher-algorithms\fR and |
| 176 | \&\fBlist-message-digest-algorithms\fR list all cipher and message digest names, one entry per line. Aliases are listed as: | |
| 177 | .PP | |
| 178 | .Vb 1 | |
| 179 | \& from => to | |
| 180 | .Ve | |
| 181 | .PP | |
| 182 | The pseudo-command \fBlist-public-key-algorithms\fR lists all supported public | |
| 183 | key algorithms. | |
| 184 | .PP | |
| 8b0cefbb JR |
185 | The pseudo-command \fBno\-\fR\fI\s-1XXX\s0\fR tests whether a command of the |
| 186 | specified name is available. If no command named \fI\s-1XXX\s0\fR exists, it | |
| 187 | returns 0 (success) and prints \fBno\-\fR\fI\s-1XXX\s0\fR; otherwise it returns 1 | |
| 188 | and prints \fI\s-1XXX\s0\fR. In both cases, the output goes to \fBstdout\fR and | |
| 984263bc MD |
189 | nothing is printed to \fBstderr\fR. Additional command line arguments |
| 190 | are always ignored. Since for each cipher there is a command of the | |
| 191 | same name, this provides an easy way for shell scripts to test for the | |
| 8b0cefbb | 192 | availability of ciphers in the \fBopenssl\fR program. (\fBno\-\fR\fI\s-1XXX\s0\fR is |
| 984263bc | 193 | not able to detect pseudo-commands such as \fBquit\fR, |
| 8b0cefbb | 194 | \&\fBlist\-\fR\fI...\fR\fB\-commands\fR, or \fBno\-\fR\fI\s-1XXX\s0\fR itself.) |
| 01185282 | 195 | .SS "\s-1STANDARD\s0 \s-1COMMANDS\s0" |
| 8b0cefbb JR |
196 | .IX Subsection "STANDARD COMMANDS" |
| 197 | .IP "\fBasn1parse\fR" 10 | |
| 198 | .IX Item "asn1parse" | |
| 984263bc | 199 | Parse an \s-1ASN\s0.1 sequence. |
| 8b0cefbb JR |
200 | .IP "\fBca\fR" 10 |
| 201 | .IX Item "ca" | |
| e257b235 | 202 | Certificate Authority (\s-1CA\s0) Management. |
| 8b0cefbb JR |
203 | .IP "\fBciphers\fR" 10 |
| 204 | .IX Item "ciphers" | |
| 984263bc | 205 | Cipher Suite Description Determination. |
| 01185282 PA |
206 | .IP "\fBcms\fR" 10 |
| 207 | .IX Item "cms" | |
| 208 | \&\s-1CMS\s0 (Cryptographic Message Syntax) utility | |
| 8b0cefbb JR |
209 | .IP "\fBcrl\fR" 10 |
| 210 | .IX Item "crl" | |
| 984263bc | 211 | Certificate Revocation List (\s-1CRL\s0) Management. |
| 8b0cefbb JR |
212 | .IP "\fBcrl2pkcs7\fR" 10 |
| 213 | .IX Item "crl2pkcs7" | |
| 214 | \&\s-1CRL\s0 to PKCS#7 Conversion. | |
| 215 | .IP "\fBdgst\fR" 10 | |
| 216 | .IX Item "dgst" | |
| 984263bc | 217 | Message Digest Calculation. |
| 8b0cefbb JR |
218 | .IP "\fBdh\fR" 10 |
| 219 | .IX Item "dh" | |
| 984263bc MD |
220 | Diffie-Hellman Parameter Management. |
| 221 | Obsoleted by \fBdhparam\fR. | |
| 01185282 PA |
222 | .IP "\fBdhparam\fR" 10 |
| 223 | .IX Item "dhparam" | |
| 224 | Generation and Management of Diffie-Hellman Parameters. Superseded by | |
| 225 | \&\fBgenpkey\fR and \fBpkeyparam\fR | |
| 8b0cefbb JR |
226 | .IP "\fBdsa\fR" 10 |
| 227 | .IX Item "dsa" | |
| 228 | \&\s-1DSA\s0 Data Management. | |
| 229 | .IP "\fBdsaparam\fR" 10 | |
| 230 | .IX Item "dsaparam" | |
| 01185282 PA |
231 | \&\s-1DSA\s0 Parameter Generation and Management. Superseded by |
| 232 | \&\fBgenpkey\fR and \fBpkeyparam\fR | |
| 233 | .IP "\fBec\fR" 10 | |
| 234 | .IX Item "ec" | |
| 235 | \&\s-1EC\s0 (Elliptic curve) key processing | |
| 236 | .IP "\fBecparam\fR" 10 | |
| 237 | .IX Item "ecparam" | |
| 238 | \&\s-1EC\s0 parameter manipulation and generation | |
| 8b0cefbb JR |
239 | .IP "\fBenc\fR" 10 |
| 240 | .IX Item "enc" | |
| 984263bc | 241 | Encoding with Ciphers. |
| 01185282 PA |
242 | .IP "\fBengine\fR" 10 |
| 243 | .IX Item "engine" | |
| 244 | Engine (loadble module) information and manipulation. | |
| 8b0cefbb JR |
245 | .IP "\fBerrstr\fR" 10 |
| 246 | .IX Item "errstr" | |
| 984263bc | 247 | Error Number to Error String Conversion. |
| 8b0cefbb JR |
248 | .IP "\fBgendh\fR" 10 |
| 249 | .IX Item "gendh" | |
| 984263bc MD |
250 | Generation of Diffie-Hellman Parameters. |
| 251 | Obsoleted by \fBdhparam\fR. | |
| 8b0cefbb JR |
252 | .IP "\fBgendsa\fR" 10 |
| 253 | .IX Item "gendsa" | |
| 01185282 PA |
254 | Generation of \s-1DSA\s0 Private Key from Parameters. Superseded by |
| 255 | \&\fBgenpkey\fR and \fBpkey\fR | |
| 256 | .IP "\fBgenpkey\fR" 10 | |
| 257 | .IX Item "genpkey" | |
| 258 | Generation of Private Key or Parameters. | |
| 8b0cefbb JR |
259 | .IP "\fBgenrsa\fR" 10 |
| 260 | .IX Item "genrsa" | |
| 01185282 PA |
261 | Generation of \s-1RSA\s0 Private Key. Superceded by \fBgenpkey\fR. |
| 262 | .IP "\fBnseq\fR" 10 | |
| 263 | .IX Item "nseq" | |
| 264 | Create or examine a netscape certificate sequence | |
| 8b0cefbb JR |
265 | .IP "\fBocsp\fR" 10 |
| 266 | .IX Item "ocsp" | |
| 984263bc | 267 | Online Certificate Status Protocol utility. |
| 8b0cefbb JR |
268 | .IP "\fBpasswd\fR" 10 |
| 269 | .IX Item "passwd" | |
| 984263bc | 270 | Generation of hashed passwords. |
| 8b0cefbb JR |
271 | .IP "\fBpkcs12\fR" 10 |
| 272 | .IX Item "pkcs12" | |
| 273 | PKCS#12 Data Management. | |
| 274 | .IP "\fBpkcs7\fR" 10 | |
| 275 | .IX Item "pkcs7" | |
| 276 | PKCS#7 Data Management. | |
| 01185282 PA |
277 | .IP "\fBpkey\fR" 10 |
| 278 | .IX Item "pkey" | |
| 279 | Public and private key management. | |
| 280 | .IP "\fBpkeyparam\fR" 10 | |
| 281 | .IX Item "pkeyparam" | |
| 282 | Public key algorithm parameter management. | |
| 283 | .IP "\fBpkeyutl\fR" 10 | |
| 284 | .IX Item "pkeyutl" | |
| 285 | Public key algorithm cryptographic operation utility. | |
| 8b0cefbb JR |
286 | .IP "\fBrand\fR" 10 |
| 287 | .IX Item "rand" | |
| 984263bc | 288 | Generate pseudo-random bytes. |
| 8b0cefbb JR |
289 | .IP "\fBreq\fR" 10 |
| 290 | .IX Item "req" | |
| 01185282 | 291 | PKCS#10 X.509 Certificate Signing Request (\s-1CSR\s0) Management. |
| 8b0cefbb JR |
292 | .IP "\fBrsa\fR" 10 |
| 293 | .IX Item "rsa" | |
| 01185282 | 294 | \&\s-1RSA\s0 key management. |
| 8b0cefbb JR |
295 | .IP "\fBrsautl\fR" 10 |
| 296 | .IX Item "rsautl" | |
| 01185282 PA |
297 | \&\s-1RSA\s0 utility for signing, verification, encryption, and decryption. Superseded |
| 298 | by \fBpkeyutl\fR | |
| 8b0cefbb JR |
299 | .IP "\fBs_client\fR" 10 |
| 300 | .IX Item "s_client" | |
| 984263bc MD |
301 | This implements a generic \s-1SSL/TLS\s0 client which can establish a transparent |
| 302 | connection to a remote server speaking \s-1SSL/TLS\s0. It's intended for testing | |
| 303 | purposes only and provides only rudimentary interface functionality but | |
| 304 | internally uses mostly all functionality of the OpenSSL \fBssl\fR library. | |
| 8b0cefbb JR |
305 | .IP "\fBs_server\fR" 10 |
| 306 | .IX Item "s_server" | |
| 984263bc MD |
307 | This implements a generic \s-1SSL/TLS\s0 server which accepts connections from remote |
| 308 | clients speaking \s-1SSL/TLS\s0. It's intended for testing purposes only and provides | |
| 309 | only rudimentary interface functionality but internally uses mostly all | |
| 310 | functionality of the OpenSSL \fBssl\fR library. It provides both an own command | |
| 311 | line oriented protocol for testing \s-1SSL\s0 functions and a simple \s-1HTTP\s0 response | |
| 8b0cefbb JR |
312 | facility to emulate an SSL/TLS\-aware webserver. |
| 313 | .IP "\fBs_time\fR" 10 | |
| 314 | .IX Item "s_time" | |
| 315 | \&\s-1SSL\s0 Connection Timer. | |
| 316 | .IP "\fBsess_id\fR" 10 | |
| 317 | .IX Item "sess_id" | |
| 318 | \&\s-1SSL\s0 Session Data Management. | |
| 319 | .IP "\fBsmime\fR" 10 | |
| 320 | .IX Item "smime" | |
| 321 | S/MIME mail processing. | |
| 322 | .IP "\fBspeed\fR" 10 | |
| 323 | .IX Item "speed" | |
| 984263bc | 324 | Algorithm Speed Measurement. |
| 01185282 PA |
325 | .IP "\fBspkac\fR" 10 |
| 326 | .IX Item "spkac" | |
| 327 | \&\s-1SPKAC\s0 printing and generating utility | |
| 328 | .IP "\fBts\fR" 10 | |
| 329 | .IX Item "ts" | |
| 330 | Time Stamping Authority tool (client/server) | |
| 8b0cefbb JR |
331 | .IP "\fBverify\fR" 10 |
| 332 | .IX Item "verify" | |
| 984263bc | 333 | X.509 Certificate Verification. |
| 8b0cefbb JR |
334 | .IP "\fBversion\fR" 10 |
| 335 | .IX Item "version" | |
| 984263bc | 336 | OpenSSL Version Information. |
| 8b0cefbb JR |
337 | .IP "\fBx509\fR" 10 |
| 338 | .IX Item "x509" | |
| 984263bc | 339 | X.509 Certificate Data Management. |
| 01185282 | 340 | .SS "\s-1MESSAGE\s0 \s-1DIGEST\s0 \s-1COMMANDS\s0" |
| 8b0cefbb JR |
341 | .IX Subsection "MESSAGE DIGEST COMMANDS" |
| 342 | .IP "\fBmd2\fR" 10 | |
| 343 | .IX Item "md2" | |
| 344 | \&\s-1MD2\s0 Digest | |
| 345 | .IP "\fBmd5\fR" 10 | |
| 346 | .IX Item "md5" | |
| 347 | \&\s-1MD5\s0 Digest | |
| 348 | .IP "\fBmdc2\fR" 10 | |
| 349 | .IX Item "mdc2" | |
| 350 | \&\s-1MDC2\s0 Digest | |
| 351 | .IP "\fBrmd160\fR" 10 | |
| 352 | .IX Item "rmd160" | |
| 353 | \&\s-1RMD\-160\s0 Digest | |
| 354 | .IP "\fBsha\fR" 10 | |
| 355 | .IX Item "sha" | |
| 356 | \&\s-1SHA\s0 Digest | |
| 357 | .IP "\fBsha1\fR" 10 | |
| 358 | .IX Item "sha1" | |
| 359 | \&\s-1SHA\-1\s0 Digest | |
| 01185282 | 360 | .IP "\fBsha224\fR" 4 |
| 2c0715f4 PA |
361 | .IX Item "sha224" |
| 362 | \&\s-1SHA\-224\s0 Digest | |
| 01185282 | 363 | .IP "\fBsha256\fR" 4 |
| 2c0715f4 PA |
364 | .IX Item "sha256" |
| 365 | \&\s-1SHA\-256\s0 Digest | |
| 01185282 | 366 | .IP "\fBsha384\fR" 4 |
| 2c0715f4 PA |
367 | .IX Item "sha384" |
| 368 | \&\s-1SHA\-384\s0 Digest | |
| 01185282 | 369 | .IP "\fBsha512\fR" 4 |
| 2c0715f4 PA |
370 | .IX Item "sha512" |
| 371 | \&\s-1SHA\-512\s0 Digest | |
| 01185282 | 372 | .SS "\s-1ENCODING\s0 \s-1AND\s0 \s-1CIPHER\s0 \s-1COMMANDS\s0" |
| 8b0cefbb JR |
373 | .IX Subsection "ENCODING AND CIPHER COMMANDS" |
| 374 | .IP "\fBbase64\fR" 10 | |
| 375 | .IX Item "base64" | |
| 984263bc | 376 | Base64 Encoding |
| 8b0cefbb JR |
377 | .IP "\fBbf bf-cbc bf-cfb bf-ecb bf-ofb\fR" 10 |
| 378 | .IX Item "bf bf-cbc bf-cfb bf-ecb bf-ofb" | |
| 984263bc | 379 | Blowfish Cipher |
| 8b0cefbb JR |
380 | .IP "\fBcast cast-cbc\fR" 10 |
| 381 | .IX Item "cast cast-cbc" | |
| 382 | \&\s-1CAST\s0 Cipher | |
| 383 | .IP "\fBcast5\-cbc cast5\-cfb cast5\-ecb cast5\-ofb\fR" 10 | |
| 384 | .IX Item "cast5-cbc cast5-cfb cast5-ecb cast5-ofb" | |
| 385 | \&\s-1CAST5\s0 Cipher | |
| 386 | .IP "\fBdes des-cbc des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb des-ede-ofb des-ofb\fR" 10 | |
| 387 | .IX Item "des des-cbc des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb des-ede-ofb des-ofb" | |
| 388 | \&\s-1DES\s0 Cipher | |
| 389 | .IP "\fBdes3 desx des\-ede3 des\-ede3\-cbc des\-ede3\-cfb des\-ede3\-ofb\fR" 10 | |
| 390 | .IX Item "des3 desx des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb" | |
| 391 | Triple-DES Cipher | |
| 392 | .IP "\fBidea idea-cbc idea-cfb idea-ecb idea-ofb\fR" 10 | |
| 393 | .IX Item "idea idea-cbc idea-cfb idea-ecb idea-ofb" | |
| 394 | \&\s-1IDEA\s0 Cipher | |
| 395 | .IP "\fBrc2 rc2\-cbc rc2\-cfb rc2\-ecb rc2\-ofb\fR" 10 | |
| 396 | .IX Item "rc2 rc2-cbc rc2-cfb rc2-ecb rc2-ofb" | |
| 397 | \&\s-1RC2\s0 Cipher | |
| 398 | .IP "\fBrc4\fR" 10 | |
| 399 | .IX Item "rc4" | |
| 400 | \&\s-1RC4\s0 Cipher | |
| 401 | .IP "\fBrc5 rc5\-cbc rc5\-cfb rc5\-ecb rc5\-ofb\fR" 10 | |
| 402 | .IX Item "rc5 rc5-cbc rc5-cfb rc5-ecb rc5-ofb" | |
| 403 | \&\s-1RC5\s0 Cipher | |
| 984263bc | 404 | .SH "PASS PHRASE ARGUMENTS" |
| 8b0cefbb | 405 | .IX Header "PASS PHRASE ARGUMENTS" |
| 984263bc MD |
406 | Several commands accept password arguments, typically using \fB\-passin\fR |
| 407 | and \fB\-passout\fR for input and output passwords respectively. These allow | |
| 408 | the password to be obtained from a variety of sources. Both of these | |
| 409 | options take a single argument whose format is described below. If no | |
| 410 | password argument is given and a password is required then the user is | |
| 411 | prompted to enter one: this will typically be read from the current | |
| 412 | terminal with echoing turned off. | |
| 8b0cefbb JR |
413 | .IP "\fBpass:password\fR" 10 |
| 414 | .IX Item "pass:password" | |
| 984263bc | 415 | the actual password is \fBpassword\fR. Since the password is visible |
| 8b0cefbb | 416 | to utilities (like 'ps' under Unix) this form should only be used |
| 984263bc | 417 | where security is not important. |
| 8b0cefbb JR |
418 | .IP "\fBenv:var\fR" 10 |
| 419 | .IX Item "env:var" | |
| 984263bc MD |
420 | obtain the password from the environment variable \fBvar\fR. Since |
| 421 | the environment of other processes is visible on certain platforms | |
| 422 | (e.g. ps under certain Unix OSes) this option should be used with caution. | |
| 8b0cefbb JR |
423 | .IP "\fBfile:pathname\fR" 10 |
| 424 | .IX Item "file:pathname" | |
| 984263bc MD |
425 | the first line of \fBpathname\fR is the password. If the same \fBpathname\fR |
| 426 | argument is supplied to \fB\-passin\fR and \fB\-passout\fR arguments then the first | |
| 427 | line will be used for the input password and the next line for the output | |
| 428 | password. \fBpathname\fR need not refer to a regular file: it could for example | |
| 429 | refer to a device or named pipe. | |
| 8b0cefbb JR |
430 | .IP "\fBfd:number\fR" 10 |
| 431 | .IX Item "fd:number" | |
| 984263bc MD |
432 | read the password from the file descriptor \fBnumber\fR. This can be used to |
| 433 | send the data via a pipe for example. | |
| 8b0cefbb JR |
434 | .IP "\fBstdin\fR" 10 |
| 435 | .IX Item "stdin" | |
| 984263bc MD |
436 | read the password from standard input. |
| 437 | .SH "SEE ALSO" | |
| 8b0cefbb JR |
438 | .IX Header "SEE ALSO" |
| 439 | \&\fIasn1parse\fR\|(1), \fIca\fR\|(1), \fIconfig\fR\|(5), | |
| 440 | \&\fIcrl\fR\|(1), \fIcrl2pkcs7\fR\|(1), \fIdgst\fR\|(1), | |
| 441 | \&\fIdhparam\fR\|(1), \fIdsa\fR\|(1), \fIdsaparam\fR\|(1), | |
| 01185282 | 442 | \&\fIenc\fR\|(1), \fIgendsa\fR\|(1), \fIgenpkey\fR\|(1), |
| 8b0cefbb JR |
443 | \&\fIgenrsa\fR\|(1), \fInseq\fR\|(1), \fIopenssl\fR\|(1), |
| 444 | \&\fIpasswd\fR\|(1), | |
| 445 | \&\fIpkcs12\fR\|(1), \fIpkcs7\fR\|(1), \fIpkcs8\fR\|(1), | |
| 446 | \&\fIrand\fR\|(1), \fIreq\fR\|(1), \fIrsa\fR\|(1), | |
| 447 | \&\fIrsautl\fR\|(1), \fIs_client\fR\|(1), | |
| 448 | \&\fIs_server\fR\|(1), \fIs_time\fR\|(1), | |
| 449 | \&\fIsmime\fR\|(1), \fIspkac\fR\|(1), | |
| 450 | \&\fIverify\fR\|(1), \fIversion\fR\|(1), \fIx509\fR\|(1), | |
| 01185282 | 451 | \&\fIcrypto\fR\|(3), \fIssl\fR\|(3), \fIx509v3_config\fR\|(5) |
| 984263bc | 452 | .SH "HISTORY" |
| 8b0cefbb | 453 | .IX Header "HISTORY" |
| 984263bc | 454 | The \fIopenssl\fR\|(1) document appeared in OpenSSL 0.9.2. |
| 8b0cefbb | 455 | The \fBlist\-\fR\fI\s-1XXX\s0\fR\fB\-commands\fR pseudo-commands were added in OpenSSL 0.9.3; |
| 01185282 | 456 | The \fBlist\-\fR\fI\s-1XXX\s0\fR\fB\-algorithms\fR pseudo-commands were added in OpenSSL 1.0.0; |
| 8b0cefbb | 457 | the \fBno\-\fR\fI\s-1XXX\s0\fR pseudo-commands were added in OpenSSL 0.9.5a. |
| 984263bc MD |
458 | For notes on the availability of other commands, see their individual |
| 459 | manual pages. | |
| 01185282 PA |
460 | .SH "POD ERRORS" |
| 461 | .IX Header "POD ERRORS" | |
| 462 | Hey! \fBThe above document had some coding errors, which are explained below:\fR | |
| 463 | .IP "Around line 292:" 4 | |
| 464 | .IX Item "Around line 292:" | |
| 465 | \&'=item' outside of any '=over' | |
| 466 | .IP "Around line 308:" 4 | |
| 467 | .IX Item "Around line 308:" | |
| 468 | You forgot a '=back' before '=head2' |