crl2pkcs7.pod revision 100937
1=pod 2 3=head1 NAME 4 5crl2pkcs7 - Create a PKCS#7 structure from a CRL and certificates. 6 7=head1 SYNOPSIS 8 9B<openssl> B<crl2pkcs7> 10[B<-inform PEM|DER>] 11[B<-outform PEM|DER>] 12[B<-in filename>] 13[B<-out filename>] 14[B<-certfile filename>] 15[B<-nocrl>] 16 17=head1 DESCRIPTION 18 19The B<crl2pkcs7> command takes an optional CRL and one or more 20certificates and converts them into a PKCS#7 degenerate "certificates 21only" structure. 22 23=head1 COMMAND OPTIONS 24 25=over 4 26 27=item B<-inform DER|PEM> 28 29This specifies the CRL input format. B<DER> format is DER encoded CRL 30structure.B<PEM> (the default) is a base64 encoded version of 31the DER form with header and footer lines. 32 33=item B<-outform DER|PEM> 34 35This specifies the PKCS#7 structure output format. B<DER> format is DER 36encoded PKCS#7 structure.B<PEM> (the default) is a base64 encoded version of 37the DER form with header and footer lines. 38 39=item B<-in filename> 40 41This specifies the input filename to read a CRL from or standard input if this 42option is not specified. 43 44=item B<-out filename> 45 46specifies the output filename to write the PKCS#7 structure to or standard 47output by default. 48 49=item B<-certfile filename> 50 51specifies a filename containing one or more certificates in B<PEM> format. 52All certificates in the file will be added to the PKCS#7 structure. This 53option can be used more than once to read certificates form multiple 54files. 55 56=item B<-nocrl> 57 58normally a CRL is included in the output file. With this option no CRL is 59included in the output file and a CRL is not read from the input file. 60 61=back 62 63=head1 EXAMPLES 64 65Create a PKCS#7 structure from a certificate and CRL: 66 67 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem 68 69Creates a PKCS#7 structure in DER format with no CRL from several 70different certificates: 71 72 openssl crl2pkcs7 -nocrl -certfile newcert.pem 73 -certfile demoCA/cacert.pem -outform DER -out p7.der 74 75=head1 NOTES 76 77The output file is a PKCS#7 signed data structure containing no signers and 78just certificates and an optional CRL. 79 80This utility can be used to send certificates and CAs to Netscape as part of 81the certificate enrollment process. This involves sending the DER encoded output 82as MIME type application/x-x509-user-cert. 83 84The B<PEM> encoded form with the header and footer lines removed can be used to 85install user certificates and CAs in MSIE using the Xenroll control. 86 87=head1 SEE ALSO 88 89L<pkcs7(1)|pkcs7(1)> 90 91=cut 92