diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/openssl.1 | 58 |
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. | |||
| 2040 | This must be the last option specified. | 2040 | This must be the last option specified. |
| 2041 | The default is 2048. | 2041 | The 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 |
| 2052 | The | 2049 | The |
| 2053 | .Nm nseq | 2050 | .Nm nseq |
| 2054 | command takes a file containing a Netscape certificate | 2051 | command takes a file containing a Netscape certificate sequence |
| 2055 | sequence and prints out the certificates contained in it or takes a | 2052 | (an alternative to the standard PKCS#7 format) |
| 2056 | file of certificates and converts it into a Netscape certificate | 2053 | and prints out the certificates contained in it, |
| 2057 | sequence. | 2054 | or takes a file of certificates |
| 2055 | and converts it into a Netscape certificate sequence. | ||
| 2056 | .Pp | ||
| 2057 | The 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 |
| 2059 | The options are as follows: | 2063 | The 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 |
| 2062 | This specifies the input | 2066 | The input file to read from, |
| 2063 | .Ar file | 2067 | or standard input if not specified. |
| 2064 | to read, or standard input if this option is not specified. | ||
| 2065 | .It Fl out Ar file | 2068 | .It Fl out Ar file |
| 2066 | Specifies the output | 2069 | The output file to write to, |
| 2067 | .Ar file , | 2070 | or standard output if not specified. |
| 2068 | or standard output by default. | ||
| 2069 | .It Fl toseq | 2071 | .It Fl toseq |
| 2070 | Normally, a Netscape certificate sequence will be input and the output | 2072 | Normally, a Netscape certificate sequence will be input and the output |
| 2071 | is the certificates contained in it. | 2073 | is the certificates contained in it. |
| @@ -2074,32 +2076,6 @@ With the | |||
| 2074 | option the situation is reversed: | 2076 | option the situation is reversed: |
| 2075 | a Netscape certificate sequence is created from a file of certificates. | 2077 | a Netscape certificate sequence is created from a file of certificates. |
| 2076 | .El | 2078 | .El |
| 2077 | .Sh NSEQ EXAMPLES | ||
| 2078 | Output 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 | ||
| 2083 | Create 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 | ||
| 2088 | The 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 | ||
| 2094 | A Netscape certificate sequence is a Netscape specific form that can be sent | ||
| 2095 | to browsers as an alternative to the standard PKCS#7 format when several | ||
| 2096 | certificates are sent to the browser: | ||
| 2097 | for example during certificate enrollment. | ||
| 2098 | It is used by the Netscape certificate server, for example. | ||
| 2099 | .Sh NSEQ BUGS | ||
| 2100 | This program needs a few more options, | ||
| 2101 | like allowing DER or PEM input and output files | ||
| 2102 | and allowing multiple certificate files to be used. | ||
| 2103 | .\" | 2079 | .\" |
| 2104 | .\" OCSP | 2080 | .\" OCSP |
| 2105 | .\" | 2081 | .\" |
