1999-11-14 05:58:39 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
openssl-nseq - create or examine a Netscape certificate sequence
|
1999-11-14 05:58:39 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<nseq>
|
2016-02-06 00:58:45 +08:00
|
|
|
[B<-help>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-in> I<filename>]
|
|
|
|
[B<-out> I<filename>]
|
1999-11-14 05:58:39 +08:00
|
|
|
[B<-toseq>]
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
Command docs: fix up command references
Almost all OpenSSL commands are in reality 'openssl cmd', so make sure
they are refered to like that and not just as the sub-command.
Self-references are avoided as much as is possible, and replaced with
"this command". In some cases, we even avoid that with a slight
rewrite of the sentence or paragrah they were in. However, in the few
cases where a self-reference is still admissible, they are done in
bold, i.e. openssl-speed.pod references itself like this:
B<openssl speed>
References to other commands are done as manual links, i.e. CA.pl.pod
references 'openssl req' like this: L<openssl-req(1)>
Some commands are examples rather than references; we enclose those in
C<>.
While we are it, we abolish "utility", replacing it with "command", or
remove it entirely in some cases.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10065)
2019-10-02 01:43:36 +08:00
|
|
|
This command takes a file containing a Netscape certificate
|
1999-11-14 05:58:39 +08:00
|
|
|
sequence and prints out the certificates contained in it or takes a
|
|
|
|
file of certificates and converts it into a Netscape certificate
|
|
|
|
sequence.
|
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
A Netscape certificate sequence is an old Netscape-specific format that
|
|
|
|
can be sometimes be sent to browsers as an alternative to the standard PKCS#7
|
|
|
|
format when several certificates are sent to the browser, for example during
|
|
|
|
certificate enrollment. It was also used by Netscape certificate server.
|
|
|
|
|
2016-12-13 00:14:40 +08:00
|
|
|
=head1 OPTIONS
|
1999-11-14 05:58:39 +08:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-06 00:58:45 +08:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-in> I<filename>
|
1999-11-14 05:58:39 +08:00
|
|
|
|
|
|
|
This specifies the input filename to read or standard input if this
|
|
|
|
option is not specified.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-out> I<filename>
|
1999-11-14 05:58:39 +08:00
|
|
|
|
2017-03-29 12:39:16 +08:00
|
|
|
Specifies the output filename or standard output by default.
|
1999-11-14 05:58:39 +08:00
|
|
|
|
|
|
|
=item B<-toseq>
|
|
|
|
|
2017-03-29 12:39:16 +08:00
|
|
|
Normally a Netscape certificate sequence will be input and the output
|
1999-11-14 05:58:39 +08:00
|
|
|
is the certificates contained in it. With the B<-toseq> option the
|
|
|
|
situation is reversed: a Netscape certificate sequence is created from
|
|
|
|
a file of certificates.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
Output the certificates in a Netscape certificate sequence
|
|
|
|
|
|
|
|
openssl nseq -in nseq.pem -out certs.pem
|
|
|
|
|
|
|
|
Create a Netscape certificate sequence
|
|
|
|
|
|
|
|
openssl nseq -in certs.pem -toseq -out nseq.pem
|
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|