summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2016-08-18 12:07:21 +0000
committerjmc <>2016-08-18 12:07:21 +0000
commit449c4cd7b5adccd04c834de564306d531570ceea (patch)
tree6fd1bd1af96dde0b9af233786f571605a089448f
parent92611c98f74846a00f53da26f44f2629a2cdf57a (diff)
downloadopenbsd-449c4cd7b5adccd04c834de564306d531570ceea.tar.gz
openbsd-449c4cd7b5adccd04c834de564306d531570ceea.tar.bz2
openbsd-449c4cd7b5adccd04c834de564306d531570ceea.zip
shorten the nseq text;
-rw-r--r--src/usr.bin/openssl/openssl.158
1 files changed, 17 insertions, 41 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index 4d3890b647..fafee79a98 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.53 2016/08/16 06:40:24 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.54 2016/08/18 12:07:21 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -112,7 +112,7 @@
112.\" 112.\"
113.\" OPENSSL 113.\" OPENSSL
114.\" 114.\"
115.Dd $Mdocdate: August 16 2016 $ 115.Dd $Mdocdate: August 18 2016 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -2040,9 +2040,6 @@ The size of the private key to generate in bits.
2040This must be the last option specified. 2040This must be the last option specified.
2041The default is 2048. 2041The default is 2048.
2042.El 2042.El
2043.\"
2044.\" NSEQ
2045.\"
2046.Sh NSEQ 2043.Sh NSEQ
2047.Nm openssl nseq 2044.Nm openssl nseq
2048.Op Fl in Ar file 2045.Op Fl in Ar file
@@ -2051,21 +2048,26 @@ The default is 2048.
2051.Pp 2048.Pp
2052The 2049The
2053.Nm nseq 2050.Nm nseq
2054command takes a file containing a Netscape certificate 2051command takes a file containing a Netscape certificate sequence
2055sequence and prints out the certificates contained in it or takes a 2052(an alternative to the standard PKCS#7 format)
2056file of certificates and converts it into a Netscape certificate 2053and prints out the certificates contained in it,
2057sequence. 2054or takes a file of certificates
2055and converts it into a Netscape certificate sequence.
2056.Pp
2057The PEM-encoded form uses the same headers and footers as a certificate:
2058.Bd -unfilled -offset indent
2059-----BEGIN CERTIFICATE-----
2060-----END CERTIFICATE-----
2061.Ed
2058.Pp 2062.Pp
2059The options are as follows: 2063The options are as follows:
2060.Bl -tag -width Ds 2064.Bl -tag -width Ds
2061.It Fl in Ar file 2065.It Fl in Ar file
2062This specifies the input 2066The input file to read from,
2063.Ar file 2067or standard input if not specified.
2064to read, or standard input if this option is not specified.
2065.It Fl out Ar file 2068.It Fl out Ar file
2066Specifies the output 2069The output file to write to,
2067.Ar file , 2070or standard output if not specified.
2068or standard output by default.
2069.It Fl toseq 2071.It Fl toseq
2070Normally, a Netscape certificate sequence will be input and the output 2072Normally, a Netscape certificate sequence will be input and the output
2071is the certificates contained in it. 2073is the certificates contained in it.
@@ -2074,32 +2076,6 @@ With the
2074option the situation is reversed: 2076option the situation is reversed:
2075a Netscape certificate sequence is created from a file of certificates. 2077a Netscape certificate sequence is created from a file of certificates.
2076.El 2078.El
2077.Sh NSEQ EXAMPLES
2078Output the certificates in a Netscape certificate sequence:
2079.Bd -literal -offset indent
2080$ openssl nseq -in nseq.pem -out certs.pem
2081.Ed
2082.Pp
2083Create a Netscape certificate sequence:
2084.Bd -literal -offset indent
2085$ openssl nseq -in certs.pem -toseq -out nseq.pem
2086.Ed
2087.Sh NSEQ NOTES
2088The PEM-encoded form uses the same headers and footers as a certificate:
2089.Bd -unfilled -offset indent
2090-----BEGIN CERTIFICATE-----
2091-----END CERTIFICATE-----
2092.Ed
2093.Pp
2094A Netscape certificate sequence is a Netscape specific form that can be sent
2095to browsers as an alternative to the standard PKCS#7 format when several
2096certificates are sent to the browser:
2097for example during certificate enrollment.
2098It is used by the Netscape certificate server, for example.
2099.Sh NSEQ BUGS
2100This program needs a few more options,
2101like allowing DER or PEM input and output files
2102and allowing multiple certificate files to be used.
2103.\" 2079.\"
2104.\" OCSP 2080.\" OCSP
2105.\" 2081.\"