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