summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguenther <>2014-07-22 06:28:10 +0000
committerguenther <>2014-07-22 06:28:10 +0000
commit304b9df68c74f3124f327829a4a8c555fbd56328 (patch)
tree31f38ccea151528cc638288d25b0ed81bc784286
parentc4e3191290f7dc034878e8c9eee2f395db280afd (diff)
downloadopenbsd-304b9df68c74f3124f327829a4a8c555fbd56328.tar.gz
openbsd-304b9df68c74f3124f327829a4a8c555fbd56328.tar.bz2
openbsd-304b9df68c74f3124f327829a4a8c555fbd56328.zip
Rewrite the description of the string_mask config file option to match
reality, and reformatting to be readable. formatting and wording suggestions miod@ jmc@
-rw-r--r--src/usr.sbin/openssl/openssl.164
1 files changed, 30 insertions, 34 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index a95e5a3982..c23685a6ad 100644
--- a/src/usr.sbin/openssl/openssl.1
+++ b/src/usr.sbin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.97 2014/06/25 06:57:42 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.98 2014/07/22 06:28:10 guenther 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: June 25 2014 $ 115.Dd $Mdocdate: July 22 2014 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -5851,40 +5851,36 @@ It can be overridden by the
5851.Fl reqexts 5851.Fl reqexts
5852command line switch. 5852command line switch.
5853.It Ar string_mask 5853.It Ar string_mask
5854This option masks out the use of certain string types in certain 5854This option limits the string types for encoding certain
5855fields. 5855fields.
5856Most users will not need to change this option. 5856The following values may be used, limiting strings to the indicated types:
5857.Pp 5857.Bl -tag -width "MASK:number"
5858It can be set to several values: 5858.It Ar utf8only
5859.Ar default , 5859.Em UTF8String.
5860which is also the default option, uses 5860This is the default, as recommended by PKIX in RFC 2459.
5861.Em PrintableStrings , T61Strings 5861.It Ar default
5862and 5862.Em PrintableString , IA5String , T61String , BMPString , UTF8String .
5863.Em BMPStrings ; 5863.It Ar pkix
5864if the 5864.Em PrintableString , IA5String , BMPString , UTF8String .
5865.Ar pkix 5865This was inspired by the PKIX recommendation in RFC 2459 for certificates
5866value is used, then only 5866generated before 2004, but differs by also permitting
5867.Em PrintableStrings 5867.Em IA5String .
5868and 5868.It Ar nombstr
5869.Em BMPStrings 5869.Em PrintableString , IA5String , T61String , UniversalString .
5870will be used. 5870This was a workaround for some ancient software that had problems
5871This follows the PKIX recommendation in RFC 2459. 5871with the variable-sized
5872If the 5872.Em BMPString
5873.Fl utf8only
5874option is used, then only
5875.Em UTF8Strings
5876will be used: this is the PKIX recommendation in RFC 2459 after 2003.
5877Finally, the
5878.Ar nombstr
5879option just uses
5880.Em PrintableStrings
5881and
5882.Em T61Strings :
5883certain software has problems with
5884.Em BMPStrings
5885and 5873and
5886.Em UTF8Strings : 5874.Em UTF8String
5887in particular Netscape. 5875types.
5876.It Li MASK : Ns Ar number
5877This is an explicit bitmask of permitted types, where
5878.Ar number
5879is a C-style hex, decimal, or octal number that's a bit-wise OR of
5880.Dv B_ASN1_*
5881values from
5882.In openssl/asn1.h .
5883.El
5888.It Ar utf8 5884.It Ar utf8
5889If set to the value 5885If set to the value
5890.Em yes , 5886.Em yes ,