4 {- join("\n", @autowarntext) -}
10 openssl-pkcs7 - PKCS#7 utility
16 [B<-inform> B<DER>|B<PEM>]
17 [B<-outform> B<DER>|B<PEM>]
24 {- $OpenSSL::safe::opt_engine_synopsis -}
26 =for openssl ifdef engine
30 This command processes PKCS#7 files. Note that it only understands PKCS#7
31 v 1.5 as specified in IETF RFC 2315. It cannot currently parse CMS as
32 described in IETF RFC 2630.
40 Print out a usage message.
42 =item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>
44 The input and formats; the default is B<PEM>.
45 See L<openssl(1)/Format Options> for details.
47 The data is a PKCS#7 Version 1.5 structure.
49 =item B<-in> I<filename>
51 This specifies the input filename to read from or standard input if this
52 option is not specified.
54 =item B<-out> I<filename>
56 Specifies the output filename to write to or standard output by
61 Print out the full PKCS7 object.
65 Prints out any certificates or CRLs contained in the file. They are
66 preceded by their subject and issuer names in one line format.
70 Prints out certificate details in full rather than just subject and
75 Don't output the encoded version of the PKCS#7 structure (or certificates
76 if B<-print_certs> is set).
78 {- $OpenSSL::safe::opt_engine_item -}
84 Convert a PKCS#7 file from PEM to DER:
86 openssl pkcs7 -in file.pem -outform DER -out file.der
88 Output all certificates in a file:
90 openssl pkcs7 -in file.pem -print_certs -out certs.pem
95 L<openssl-crl2pkcs7(1)>
99 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
101 Licensed under the Apache License 2.0 (the "License"). You may not use
102 this file except in compliance with the License. You can obtain a copy
103 in the file LICENSE in the source distribution or at
104 L<https://www.openssl.org/source/license.html>.