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