Bug 33883 - openssl pkcs12 -infile/-outfile bad options in SSL Configuration HOW-TO example
openssl pkcs12 -infile/-outfile bad options in SSL Configuration HOW-TO example
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Unknown
Unknown
All All
: P2 trivial (vote)
: ---
Assigned To: Tomcat Developers Mailing List
http://jakarta.apache.org/tomcat/tomc...
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-03-07 22:58 UTC by Jim Basney
Modified: 2005-03-23 08:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Basney 2005-03-07 22:58:49 UTC
On this page, the "Prepare the Certificate Keystore" section has the example:

openssl pkcs12 -export -infile mycert.crt -inkey mykey.key \
                        -outfile mycert.p12 -name tomcat -CAfile myCA.crt \
                        -caname root -chain

However, -infile and -outfile aren't valid options for this command (at least
for OpenSSL 0.9.7d).  The example should use -in and -out:

openssl pkcs12 -export -in mycert.crt -inkey mykey.key \
                        -out mycert.p12 -name tomcat -CAfile myCA.crt \
                        -caname root -chain