xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/openssl.pod (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos=pod
2*4724848cSchristos
3*4724848cSchristos=head1 NAME
4*4724848cSchristos
5*4724848cSchristosopenssl - OpenSSL command line tool
6*4724848cSchristos
7*4724848cSchristos=head1 SYNOPSIS
8*4724848cSchristos
9*4724848cSchristosB<openssl>
10*4724848cSchristosI<command>
11*4724848cSchristos[ I<command_opts> ]
12*4724848cSchristos[ I<command_args> ]
13*4724848cSchristos
14*4724848cSchristosB<openssl> B<list> [ B<standard-commands> | B<digest-commands> | B<cipher-commands> | B<cipher-algorithms> | B<digest-algorithms> | B<public-key-algorithms>]
15*4724848cSchristos
16*4724848cSchristosB<openssl> B<no->I<XXX> [ I<arbitrary options> ]
17*4724848cSchristos
18*4724848cSchristos=head1 DESCRIPTION
19*4724848cSchristos
20*4724848cSchristosOpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL
21*4724848cSchristosv2/v3) and Transport Layer Security (TLS v1) network protocols and related
22*4724848cSchristoscryptography standards required by them.
23*4724848cSchristos
24*4724848cSchristosThe B<openssl> program is a command line tool for using the various
25*4724848cSchristoscryptography functions of OpenSSL's B<crypto> library from the shell.
26*4724848cSchristosIt can be used for
27*4724848cSchristos
28*4724848cSchristos o  Creation and management of private keys, public keys and parameters
29*4724848cSchristos o  Public key cryptographic operations
30*4724848cSchristos o  Creation of X.509 certificates, CSRs and CRLs
31*4724848cSchristos o  Calculation of Message Digests
32*4724848cSchristos o  Encryption and Decryption with Ciphers
33*4724848cSchristos o  SSL/TLS Client and Server Tests
34*4724848cSchristos o  Handling of S/MIME signed or encrypted mail
35*4724848cSchristos o  Time Stamp requests, generation and verification
36*4724848cSchristos
37*4724848cSchristos=head1 COMMAND SUMMARY
38*4724848cSchristos
39*4724848cSchristosThe B<openssl> program provides a rich variety of commands (I<command> in the
40*4724848cSchristosSYNOPSIS above), each of which often has a wealth of options and arguments
41*4724848cSchristos(I<command_opts> and I<command_args> in the SYNOPSIS).
42*4724848cSchristos
43*4724848cSchristosDetailed documentation and use cases for most standard subcommands are available
44*4724848cSchristos(e.g., L<x509(1)> or L<openssl-x509(1)>).
45*4724848cSchristos
46*4724848cSchristosMany commands use an external configuration file for some or all of their
47*4724848cSchristosarguments and have a B<-config> option to specify that file.
48*4724848cSchristosThe environment variable B<OPENSSL_CONF> can be used to specify
49*4724848cSchristosthe location of the file.
50*4724848cSchristosIf the environment variable is not specified, then the file is named
51*4724848cSchristosB<openssl.cnf> in the default certificate storage area, whose value
52*4724848cSchristosdepends on the configuration flags specified when the OpenSSL
53*4724848cSchristoswas built.
54*4724848cSchristos
55*4724848cSchristosThe list parameters B<standard-commands>, B<digest-commands>,
56*4724848cSchristosand B<cipher-commands> output a list (one entry per line) of the names
57*4724848cSchristosof all standard commands, message digest commands, or cipher commands,
58*4724848cSchristosrespectively, that are available in the present B<openssl> utility.
59*4724848cSchristos
60*4724848cSchristosThe list parameters B<cipher-algorithms> and
61*4724848cSchristosB<digest-algorithms> list all cipher and message digest names, one entry per line. Aliases are listed as:
62*4724848cSchristos
63*4724848cSchristos from => to
64*4724848cSchristos
65*4724848cSchristosThe list parameter B<public-key-algorithms> lists all supported public
66*4724848cSchristoskey algorithms.
67*4724848cSchristos
68*4724848cSchristosThe command B<no->I<XXX> tests whether a command of the
69*4724848cSchristosspecified name is available.  If no command named I<XXX> exists, it
70*4724848cSchristosreturns 0 (success) and prints B<no->I<XXX>; otherwise it returns 1
71*4724848cSchristosand prints I<XXX>.  In both cases, the output goes to B<stdout> and
72*4724848cSchristosnothing is printed to B<stderr>.  Additional command line arguments
73*4724848cSchristosare always ignored.  Since for each cipher there is a command of the
74*4724848cSchristossame name, this provides an easy way for shell scripts to test for the
75*4724848cSchristosavailability of ciphers in the B<openssl> program.  (B<no->I<XXX> is
76*4724848cSchristosnot able to detect pseudo-commands such as B<quit>,
77*4724848cSchristosB<list>, or B<no->I<XXX> itself.)
78*4724848cSchristos
79*4724848cSchristos=head2 Standard Commands
80*4724848cSchristos
81*4724848cSchristos=over 4
82*4724848cSchristos
83*4724848cSchristos=item B<asn1parse>
84*4724848cSchristos
85*4724848cSchristosParse an ASN.1 sequence.
86*4724848cSchristos
87*4724848cSchristos=item B<ca>
88*4724848cSchristos
89*4724848cSchristosCertificate Authority (CA) Management.
90*4724848cSchristos
91*4724848cSchristos=item B<ciphers>
92*4724848cSchristos
93*4724848cSchristosCipher Suite Description Determination.
94*4724848cSchristos
95*4724848cSchristos=item B<cms>
96*4724848cSchristos
97*4724848cSchristosCMS (Cryptographic Message Syntax) utility.
98*4724848cSchristos
99*4724848cSchristos=item B<crl>
100*4724848cSchristos
101*4724848cSchristosCertificate Revocation List (CRL) Management.
102*4724848cSchristos
103*4724848cSchristos=item B<crl2pkcs7>
104*4724848cSchristos
105*4724848cSchristosCRL to PKCS#7 Conversion.
106*4724848cSchristos
107*4724848cSchristos=item B<dgst>
108*4724848cSchristos
109*4724848cSchristosMessage Digest Calculation.
110*4724848cSchristos
111*4724848cSchristos=item B<dh>
112*4724848cSchristos
113*4724848cSchristosDiffie-Hellman Parameter Management.
114*4724848cSchristosObsoleted by L<dhparam(1)>.
115*4724848cSchristos
116*4724848cSchristos=item B<dhparam>
117*4724848cSchristos
118*4724848cSchristosGeneration and Management of Diffie-Hellman Parameters. Superseded by
119*4724848cSchristosL<genpkey(1)> and L<pkeyparam(1)>.
120*4724848cSchristos
121*4724848cSchristos=item B<dsa>
122*4724848cSchristos
123*4724848cSchristosDSA Data Management.
124*4724848cSchristos
125*4724848cSchristos=item B<dsaparam>
126*4724848cSchristos
127*4724848cSchristosDSA Parameter Generation and Management. Superseded by
128*4724848cSchristosL<genpkey(1)> and L<pkeyparam(1)>.
129*4724848cSchristos
130*4724848cSchristos=item B<ec>
131*4724848cSchristos
132*4724848cSchristosEC (Elliptic curve) key processing.
133*4724848cSchristos
134*4724848cSchristos=item B<ecparam>
135*4724848cSchristos
136*4724848cSchristosEC parameter manipulation and generation.
137*4724848cSchristos
138*4724848cSchristos=item B<enc>
139*4724848cSchristos
140*4724848cSchristosEncoding with Ciphers.
141*4724848cSchristos
142*4724848cSchristos=item B<engine>
143*4724848cSchristos
144*4724848cSchristosEngine (loadable module) information and manipulation.
145*4724848cSchristos
146*4724848cSchristos=item B<errstr>
147*4724848cSchristos
148*4724848cSchristosError Number to Error String Conversion.
149*4724848cSchristos
150*4724848cSchristos=item B<gendh>
151*4724848cSchristos
152*4724848cSchristosGeneration of Diffie-Hellman Parameters.
153*4724848cSchristosObsoleted by L<dhparam(1)>.
154*4724848cSchristos
155*4724848cSchristos=item B<gendsa>
156*4724848cSchristos
157*4724848cSchristosGeneration of DSA Private Key from Parameters. Superseded by
158*4724848cSchristosL<genpkey(1)> and L<pkey(1)>.
159*4724848cSchristos
160*4724848cSchristos=item B<genpkey>
161*4724848cSchristos
162*4724848cSchristosGeneration of Private Key or Parameters.
163*4724848cSchristos
164*4724848cSchristos=item B<genrsa>
165*4724848cSchristos
166*4724848cSchristosGeneration of RSA Private Key. Superseded by L<genpkey(1)>.
167*4724848cSchristos
168*4724848cSchristos=item B<nseq>
169*4724848cSchristos
170*4724848cSchristosCreate or examine a Netscape certificate sequence.
171*4724848cSchristos
172*4724848cSchristos=item B<ocsp>
173*4724848cSchristos
174*4724848cSchristosOnline Certificate Status Protocol utility.
175*4724848cSchristos
176*4724848cSchristos=item B<passwd>
177*4724848cSchristos
178*4724848cSchristosGeneration of hashed passwords.
179*4724848cSchristos
180*4724848cSchristos=item B<pkcs12>
181*4724848cSchristos
182*4724848cSchristosPKCS#12 Data Management.
183*4724848cSchristos
184*4724848cSchristos=item B<pkcs7>
185*4724848cSchristos
186*4724848cSchristosPKCS#7 Data Management.
187*4724848cSchristos
188*4724848cSchristos=item B<pkcs8>
189*4724848cSchristos
190*4724848cSchristosPKCS#8 format private key conversion tool.
191*4724848cSchristos
192*4724848cSchristos=item B<pkey>
193*4724848cSchristos
194*4724848cSchristosPublic and private key management.
195*4724848cSchristos
196*4724848cSchristos=item B<pkeyparam>
197*4724848cSchristos
198*4724848cSchristosPublic key algorithm parameter management.
199*4724848cSchristos
200*4724848cSchristos=item B<pkeyutl>
201*4724848cSchristos
202*4724848cSchristosPublic key algorithm cryptographic operation utility.
203*4724848cSchristos
204*4724848cSchristos=item B<prime>
205*4724848cSchristos
206*4724848cSchristosCompute prime numbers.
207*4724848cSchristos
208*4724848cSchristos=item B<rand>
209*4724848cSchristos
210*4724848cSchristosGenerate pseudo-random bytes.
211*4724848cSchristos
212*4724848cSchristos=item B<rehash>
213*4724848cSchristos
214*4724848cSchristosCreate symbolic links to certificate and CRL files named by the hash values.
215*4724848cSchristos
216*4724848cSchristos=item B<req>
217*4724848cSchristos
218*4724848cSchristosPKCS#10 X.509 Certificate Signing Request (CSR) Management.
219*4724848cSchristos
220*4724848cSchristos=item B<rsa>
221*4724848cSchristos
222*4724848cSchristosRSA key management.
223*4724848cSchristos
224*4724848cSchristos=item B<rsautl>
225*4724848cSchristos
226*4724848cSchristosRSA utility for signing, verification, encryption, and decryption. Superseded
227*4724848cSchristosby  L<pkeyutl(1)>.
228*4724848cSchristos
229*4724848cSchristos=item B<s_client>
230*4724848cSchristos
231*4724848cSchristosThis implements a generic SSL/TLS client which can establish a transparent
232*4724848cSchristosconnection to a remote server speaking SSL/TLS. It's intended for testing
233*4724848cSchristospurposes only and provides only rudimentary interface functionality but
234*4724848cSchristosinternally uses mostly all functionality of the OpenSSL B<ssl> library.
235*4724848cSchristos
236*4724848cSchristos=item B<s_server>
237*4724848cSchristos
238*4724848cSchristosThis implements a generic SSL/TLS server which accepts connections from remote
239*4724848cSchristosclients speaking SSL/TLS. It's intended for testing purposes only and provides
240*4724848cSchristosonly rudimentary interface functionality but internally uses mostly all
241*4724848cSchristosfunctionality of the OpenSSL B<ssl> library.  It provides both an own command
242*4724848cSchristosline oriented protocol for testing SSL functions and a simple HTTP response
243*4724848cSchristosfacility to emulate an SSL/TLS-aware webserver.
244*4724848cSchristos
245*4724848cSchristos=item B<s_time>
246*4724848cSchristos
247*4724848cSchristosSSL Connection Timer.
248*4724848cSchristos
249*4724848cSchristos=item B<sess_id>
250*4724848cSchristos
251*4724848cSchristosSSL Session Data Management.
252*4724848cSchristos
253*4724848cSchristos=item B<smime>
254*4724848cSchristos
255*4724848cSchristosS/MIME mail processing.
256*4724848cSchristos
257*4724848cSchristos=item B<speed>
258*4724848cSchristos
259*4724848cSchristosAlgorithm Speed Measurement.
260*4724848cSchristos
261*4724848cSchristos=item B<spkac>
262*4724848cSchristos
263*4724848cSchristosSPKAC printing and generating utility.
264*4724848cSchristos
265*4724848cSchristos=item B<srp>
266*4724848cSchristos
267*4724848cSchristosMaintain SRP password file.
268*4724848cSchristos
269*4724848cSchristos=item B<storeutl>
270*4724848cSchristos
271*4724848cSchristosUtility to list and display certificates, keys, CRLs, etc.
272*4724848cSchristos
273*4724848cSchristos=item B<ts>
274*4724848cSchristos
275*4724848cSchristosTime Stamping Authority tool (client/server).
276*4724848cSchristos
277*4724848cSchristos=item B<verify>
278*4724848cSchristos
279*4724848cSchristosX.509 Certificate Verification.
280*4724848cSchristos
281*4724848cSchristos=item B<version>
282*4724848cSchristos
283*4724848cSchristosOpenSSL Version Information.
284*4724848cSchristos
285*4724848cSchristos=item B<x509>
286*4724848cSchristos
287*4724848cSchristosX.509 Certificate Data Management.
288*4724848cSchristos
289*4724848cSchristos=back
290*4724848cSchristos
291*4724848cSchristos=head2 Message Digest Commands
292*4724848cSchristos
293*4724848cSchristos=over 4
294*4724848cSchristos
295*4724848cSchristos=item B<blake2b512>
296*4724848cSchristos
297*4724848cSchristosBLAKE2b-512 Digest
298*4724848cSchristos
299*4724848cSchristos=item B<blake2s256>
300*4724848cSchristos
301*4724848cSchristosBLAKE2s-256 Digest
302*4724848cSchristos
303*4724848cSchristos=item B<md2>
304*4724848cSchristos
305*4724848cSchristosMD2 Digest
306*4724848cSchristos
307*4724848cSchristos=item B<md4>
308*4724848cSchristos
309*4724848cSchristosMD4 Digest
310*4724848cSchristos
311*4724848cSchristos=item B<md5>
312*4724848cSchristos
313*4724848cSchristosMD5 Digest
314*4724848cSchristos
315*4724848cSchristos=item B<mdc2>
316*4724848cSchristos
317*4724848cSchristosMDC2 Digest
318*4724848cSchristos
319*4724848cSchristos=item B<rmd160>
320*4724848cSchristos
321*4724848cSchristosRMD-160 Digest
322*4724848cSchristos
323*4724848cSchristos=item B<sha1>
324*4724848cSchristos
325*4724848cSchristosSHA-1 Digest
326*4724848cSchristos
327*4724848cSchristos=item B<sha224>
328*4724848cSchristos
329*4724848cSchristosSHA-2 224 Digest
330*4724848cSchristos
331*4724848cSchristos=item B<sha256>
332*4724848cSchristos
333*4724848cSchristosSHA-2 256 Digest
334*4724848cSchristos
335*4724848cSchristos=item B<sha384>
336*4724848cSchristos
337*4724848cSchristosSHA-2 384 Digest
338*4724848cSchristos
339*4724848cSchristos=item B<sha512>
340*4724848cSchristos
341*4724848cSchristosSHA-2 512 Digest
342*4724848cSchristos
343*4724848cSchristos=item B<sha3-224>
344*4724848cSchristos
345*4724848cSchristosSHA-3 224 Digest
346*4724848cSchristos
347*4724848cSchristos=item B<sha3-256>
348*4724848cSchristos
349*4724848cSchristosSHA-3 256 Digest
350*4724848cSchristos
351*4724848cSchristos=item B<sha3-384>
352*4724848cSchristos
353*4724848cSchristosSHA-3 384 Digest
354*4724848cSchristos
355*4724848cSchristos=item B<sha3-512>
356*4724848cSchristos
357*4724848cSchristosSHA-3 512 Digest
358*4724848cSchristos
359*4724848cSchristos=item B<shake128>
360*4724848cSchristos
361*4724848cSchristosSHA-3 SHAKE128 Digest
362*4724848cSchristos
363*4724848cSchristos=item B<shake256>
364*4724848cSchristos
365*4724848cSchristosSHA-3 SHAKE256 Digest
366*4724848cSchristos
367*4724848cSchristos=item B<sm3>
368*4724848cSchristos
369*4724848cSchristosSM3 Digest
370*4724848cSchristos
371*4724848cSchristos=back
372*4724848cSchristos
373*4724848cSchristos=head2 Encoding and Cipher Commands
374*4724848cSchristos
375*4724848cSchristosThe following aliases provide convenient access to the most used encodings
376*4724848cSchristosand ciphers.
377*4724848cSchristos
378*4724848cSchristosDepending on how OpenSSL was configured and built, not all ciphers listed
379*4724848cSchristoshere may be present. See L<enc(1)> for more information and command usage.
380*4724848cSchristos
381*4724848cSchristos=over 4
382*4724848cSchristos
383*4724848cSchristos=item B<aes128>, B<aes-128-cbc>, B<aes-128-cfb>, B<aes-128-ctr>, B<aes-128-ecb>, B<aes-128-ofb>
384*4724848cSchristos
385*4724848cSchristosAES-128 Cipher
386*4724848cSchristos
387*4724848cSchristos=item B<aes192>, B<aes-192-cbc>, B<aes-192-cfb>, B<aes-192-ctr>, B<aes-192-ecb>, B<aes-192-ofb>
388*4724848cSchristos
389*4724848cSchristosAES-192 Cipher
390*4724848cSchristos
391*4724848cSchristos=item B<aes256>, B<aes-256-cbc>, B<aes-256-cfb>, B<aes-256-ctr>, B<aes-256-ecb>, B<aes-256-ofb>
392*4724848cSchristos
393*4724848cSchristosAES-256 Cipher
394*4724848cSchristos
395*4724848cSchristos=item B<aria128>, B<aria-128-cbc>, B<aria-128-cfb>, B<aria-128-ctr>, B<aria-128-ecb>, B<aria-128-ofb>
396*4724848cSchristos
397*4724848cSchristosAria-128 Cipher
398*4724848cSchristos
399*4724848cSchristos=item B<aria192>, B<aria-192-cbc>, B<aria-192-cfb>, B<aria-192-ctr>, B<aria-192-ecb>, B<aria-192-ofb>
400*4724848cSchristos
401*4724848cSchristosAria-192 Cipher
402*4724848cSchristos
403*4724848cSchristos=item B<aria256>, B<aria-256-cbc>, B<aria-256-cfb>, B<aria-256-ctr>, B<aria-256-ecb>, B<aria-256-ofb>
404*4724848cSchristos
405*4724848cSchristosAria-256 Cipher
406*4724848cSchristos
407*4724848cSchristos=item B<base64>
408*4724848cSchristos
409*4724848cSchristosBase64 Encoding
410*4724848cSchristos
411*4724848cSchristos=item B<bf>, B<bf-cbc>, B<bf-cfb>, B<bf-ecb>, B<bf-ofb>
412*4724848cSchristos
413*4724848cSchristosBlowfish Cipher
414*4724848cSchristos
415*4724848cSchristos=item B<camellia128>, B<camellia-128-cbc>, B<camellia-128-cfb>, B<camellia-128-ctr>, B<camellia-128-ecb>, B<camellia-128-ofb>
416*4724848cSchristos
417*4724848cSchristosCamellia-128 Cipher
418*4724848cSchristos
419*4724848cSchristos=item B<camellia192>, B<camellia-192-cbc>, B<camellia-192-cfb>, B<camellia-192-ctr>, B<camellia-192-ecb>, B<camellia-192-ofb>
420*4724848cSchristos
421*4724848cSchristosCamellia-192 Cipher
422*4724848cSchristos
423*4724848cSchristos=item B<camellia256>, B<camellia-256-cbc>, B<camellia-256-cfb>, B<camellia-256-ctr>, B<camellia-256-ecb>, B<camellia-256-ofb>
424*4724848cSchristos
425*4724848cSchristosCamellia-256 Cipher
426*4724848cSchristos
427*4724848cSchristos=item B<cast>, B<cast-cbc>
428*4724848cSchristos
429*4724848cSchristosCAST Cipher
430*4724848cSchristos
431*4724848cSchristos=item B<cast5-cbc>, B<cast5-cfb>, B<cast5-ecb>, B<cast5-ofb>
432*4724848cSchristos
433*4724848cSchristosCAST5 Cipher
434*4724848cSchristos
435*4724848cSchristos=item B<chacha20>
436*4724848cSchristos
437*4724848cSchristosChacha20 Cipher
438*4724848cSchristos
439*4724848cSchristos=item B<des>, B<des-cbc>, B<des-cfb>, B<des-ecb>, B<des-ede>, B<des-ede-cbc>, B<des-ede-cfb>, B<des-ede-ofb>, B<des-ofb>
440*4724848cSchristos
441*4724848cSchristosDES Cipher
442*4724848cSchristos
443*4724848cSchristos=item B<des3>, B<desx>, B<des-ede3>, B<des-ede3-cbc>, B<des-ede3-cfb>, B<des-ede3-ofb>
444*4724848cSchristos
445*4724848cSchristosTriple-DES Cipher
446*4724848cSchristos
447*4724848cSchristos=item B<idea>, B<idea-cbc>, B<idea-cfb>, B<idea-ecb>, B<idea-ofb>
448*4724848cSchristos
449*4724848cSchristosIDEA Cipher
450*4724848cSchristos
451*4724848cSchristos=item B<rc2>, B<rc2-cbc>, B<rc2-cfb>, B<rc2-ecb>, B<rc2-ofb>
452*4724848cSchristos
453*4724848cSchristosRC2 Cipher
454*4724848cSchristos
455*4724848cSchristos=item B<rc4>
456*4724848cSchristos
457*4724848cSchristosRC4 Cipher
458*4724848cSchristos
459*4724848cSchristos=item B<rc5>, B<rc5-cbc>, B<rc5-cfb>, B<rc5-ecb>, B<rc5-ofb>
460*4724848cSchristos
461*4724848cSchristosRC5 Cipher
462*4724848cSchristos
463*4724848cSchristos=item B<seed>, B<seed-cbc>, B<seed-cfb>, B<seed-ecb>, B<seed-ofb>
464*4724848cSchristos
465*4724848cSchristosSEED Cipher
466*4724848cSchristos
467*4724848cSchristos=item B<sm4>, B<sm4-cbc>, B<sm4-cfb>, B<sm4-ctr>, B<sm4-ecb>, B<sm4-ofb>
468*4724848cSchristos
469*4724848cSchristosSM4 Cipher
470*4724848cSchristos
471*4724848cSchristos=back
472*4724848cSchristos
473*4724848cSchristos=head1 OPTIONS
474*4724848cSchristos
475*4724848cSchristosDetails of which options are available depend on the specific command.
476*4724848cSchristosThis section describes some common options with common behavior.
477*4724848cSchristos
478*4724848cSchristos=head2 Common Options
479*4724848cSchristos
480*4724848cSchristos=over 4
481*4724848cSchristos
482*4724848cSchristos=item B<-help>
483*4724848cSchristos
484*4724848cSchristosProvides a terse summary of all options.
485*4724848cSchristos
486*4724848cSchristos=back
487*4724848cSchristos
488*4724848cSchristos=head2 Pass Phrase Options
489*4724848cSchristos
490*4724848cSchristosSeveral commands accept password arguments, typically using B<-passin>
491*4724848cSchristosand B<-passout> for input and output passwords respectively. These allow
492*4724848cSchristosthe password to be obtained from a variety of sources. Both of these
493*4724848cSchristosoptions take a single argument whose format is described below. If no
494*4724848cSchristospassword argument is given and a password is required then the user is
495*4724848cSchristosprompted to enter one: this will typically be read from the current
496*4724848cSchristosterminal with echoing turned off.
497*4724848cSchristos
498*4724848cSchristosNote that character encoding may be relevant, please see
499*4724848cSchristosL<passphrase-encoding(7)>.
500*4724848cSchristos
501*4724848cSchristos=over 4
502*4724848cSchristos
503*4724848cSchristos=item B<pass:password>
504*4724848cSchristos
505*4724848cSchristosThe actual password is B<password>. Since the password is visible
506*4724848cSchristosto utilities (like 'ps' under Unix) this form should only be used
507*4724848cSchristoswhere security is not important.
508*4724848cSchristos
509*4724848cSchristos=item B<env:var>
510*4724848cSchristos
511*4724848cSchristosObtain the password from the environment variable B<var>. Since
512*4724848cSchristosthe environment of other processes is visible on certain platforms
513*4724848cSchristos(e.g. ps under certain Unix OSes) this option should be used with caution.
514*4724848cSchristos
515*4724848cSchristos=item B<file:pathname>
516*4724848cSchristos
517*4724848cSchristosThe first line of B<pathname> is the password. If the same B<pathname>
518*4724848cSchristosargument is supplied to B<-passin> and B<-passout> arguments then the first
519*4724848cSchristosline will be used for the input password and the next line for the output
520*4724848cSchristospassword. B<pathname> need not refer to a regular file: it could for example
521*4724848cSchristosrefer to a device or named pipe.
522*4724848cSchristos
523*4724848cSchristos=item B<fd:number>
524*4724848cSchristos
525*4724848cSchristosRead the password from the file descriptor B<number>. This can be used to
526*4724848cSchristossend the data via a pipe for example.
527*4724848cSchristos
528*4724848cSchristos=item B<stdin>
529*4724848cSchristos
530*4724848cSchristosRead the password from standard input.
531*4724848cSchristos
532*4724848cSchristos=back
533*4724848cSchristos
534*4724848cSchristos=head1 SEE ALSO
535*4724848cSchristos
536*4724848cSchristosL<asn1parse(1)>, L<ca(1)>, L<ciphers(1)>, L<cms(1)>, L<config(5)>,
537*4724848cSchristosL<crl(1)>, L<crl2pkcs7(1)>, L<dgst(1)>,
538*4724848cSchristosL<dhparam(1)>, L<dsa(1)>, L<dsaparam(1)>,
539*4724848cSchristosL<ec(1)>, L<ecparam(1)>,
540*4724848cSchristosL<enc(1)>, L<engine(1)>, L<errstr(1)>, L<gendsa(1)>, L<genpkey(1)>,
541*4724848cSchristosL<genrsa(1)>, L<nseq(1)>, L<ocsp(1)>,
542*4724848cSchristosL<passwd(1)>,
543*4724848cSchristosL<pkcs12(1)>, L<pkcs7(1)>, L<pkcs8(1)>,
544*4724848cSchristosL<pkey(1)>, L<pkeyparam(1)>, L<pkeyutl(1)>, L<prime(1)>,
545*4724848cSchristosL<rand(1)>, L<rehash(1)>, L<req(1)>, L<rsa(1)>,
546*4724848cSchristosL<rsautl(1)>, L<s_client(1)>,
547*4724848cSchristosL<s_server(1)>, L<s_time(1)>, L<sess_id(1)>,
548*4724848cSchristosL<smime(1)>, L<speed(1)>, L<spkac(1)>, L<srp(1)>, L<storeutl(1)>,
549*4724848cSchristosL<ts(1)>,
550*4724848cSchristosL<verify(1)>, L<version(1)>, L<x509(1)>,
551*4724848cSchristosL<crypto(7)>, L<ssl(7)>, L<x509v3_config(5)>
552*4724848cSchristos
553*4724848cSchristos=head1 HISTORY
554*4724848cSchristos
555*4724848cSchristosThe B<list->I<XXX>B<-algorithms> pseudo-commands were added in OpenSSL 1.0.0;
556*4724848cSchristosFor notes on the availability of other commands, see their individual
557*4724848cSchristosmanual pages.
558*4724848cSchristos
559*4724848cSchristos=head1 COPYRIGHT
560*4724848cSchristos
561*4724848cSchristosCopyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
562*4724848cSchristos
563*4724848cSchristosLicensed under the OpenSSL license (the "License").  You may not use
564*4724848cSchristosthis file except in compliance with the License.  You can obtain a copy
565*4724848cSchristosin the file LICENSE in the source distribution or at
566*4724848cSchristosL<https://www.openssl.org/source/license.html>.
567*4724848cSchristos
568*4724848cSchristos=cut
569