xref: /freebsd/crypto/openssl/doc/man1/openssl-nseq.pod.in (revision 02e9120893770924227138ba49df1edb3896112a)
1=pod
2{- OpenSSL::safe::output_do_not_edit_headers(); -}
3
4=head1 NAME
5
6openssl-nseq - create or examine a Netscape certificate sequence
7
8=head1 SYNOPSIS
9
10B<openssl> B<nseq>
11[B<-help>]
12[B<-in> I<filename>]
13[B<-out> I<filename>]
14[B<-toseq>]
15{- $OpenSSL::safe::opt_provider_synopsis -}
16
17=head1 DESCRIPTION
18
19This command takes a file containing a Netscape certificate
20sequence and prints out the certificates contained in it or takes a
21file of certificates and converts it into a Netscape certificate
22sequence.
23
24A Netscape certificate sequence is an old Netscape-specific format that
25can be sometimes be sent to browsers as an alternative to the standard PKCS#7
26format when several certificates are sent to the browser, for example during
27certificate enrollment.  It was also used by Netscape certificate server.
28
29=head1 OPTIONS
30
31=over 4
32
33=item B<-help>
34
35Print out a usage message.
36
37=item B<-in> I<filename>
38
39This specifies the input filename to read or standard input if this
40option is not specified.
41
42=item B<-out> I<filename>
43
44Specifies the output filename or standard output by default.
45
46=item B<-toseq>
47
48Normally a Netscape certificate sequence will be input and the output
49is the certificates contained in it. With the B<-toseq> option the
50situation is reversed: a Netscape certificate sequence is created from
51a file of certificates.
52
53{- $OpenSSL::safe::opt_provider_item -}
54
55=back
56
57=head1 EXAMPLES
58
59Output the certificates in a Netscape certificate sequence
60
61 openssl nseq -in nseq.pem -out certs.pem
62
63Create a Netscape certificate sequence
64
65 openssl nseq -in certs.pem -toseq -out nseq.pem
66
67=head1 COPYRIGHT
68
69Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
70
71Licensed under the Apache License 2.0 (the "License").  You may not use
72this file except in compliance with the License.  You can obtain a copy
73in the file LICENSE in the source distribution or at
74L<https://www.openssl.org/source/license.html>.
75
76=cut
77