summaryrefslogtreecommitdiffstats
path: root/doc/apps/pkcs12.pod
diff options
context:
space:
mode:
authorScott Schaefer <saschaefer@neurodiverse.org>2013-12-23 19:01:38 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-02-14 22:28:37 +0000
commit856c6dfb09d69fc82ada2611c6cd792dfc60e355 (patch)
treecac05f74cf5b42616977ca6f158f062794b537ee /doc/apps/pkcs12.pod
parent701134320a94908d8c0ac513741cab41e215a7b5 (diff)
Document pkcs12 -password behavior
apps/pkcs12.c accepts -password as an argument. The document author almost certainly meant to write "-password, -passin". However, that is not correct, either. Actually the code treats -password as equivalent to -passin, EXCEPT when -export is also specified, in which case -password as equivalent to -passout.
Diffstat (limited to 'doc/apps/pkcs12.pod')
-rw-r--r--doc/apps/pkcs12.pod7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/apps/pkcs12.pod b/doc/apps/pkcs12.pod
index f69a5c5a4c..13392b9b06 100644
--- a/doc/apps/pkcs12.pod
+++ b/doc/apps/pkcs12.pod
@@ -67,7 +67,7 @@ by default.
The filename to write certificates and private keys to, standard output by
default. They are all written in PEM format.
-=item B<-pass arg>, B<-passin arg>
+=item B<-passin arg>
the PKCS#12 file (i.e. input file) password source. For more information about
the format of B<arg> see the B<PASS PHRASE ARGUMENTS> section in
@@ -79,6 +79,11 @@ pass phrase source to encrypt any outputed private keys with. For more
information about the format of B<arg> see the B<PASS PHRASE ARGUMENTS> section
in L<openssl(1)|openssl(1)>.
+=item B<-password arg>
+
+With -export, -password is equivalent to -passout.
+Otherwise, -password is equivalent to -passin.
+
=item B<-noout>
this option inhibits output of the keys and certificates to the output file