diff options
| author | job <> | 2024-01-12 11:24:03 +0000 |
|---|---|---|
| committer | job <> | 2024-01-12 11:24:03 +0000 |
| commit | fd3a458c3776b8f3ff79dd8ee79fafe9c6782c8a (patch) | |
| tree | b556349cae6f3fe4c0d9ea5f86f104a74c5349a1 /src/usr.bin/openssl/openssl.1 | |
| parent | ad3ebcbebac13794da5812c7b88f798b3a33e09a (diff) | |
| download | openbsd-fd3a458c3776b8f3ff79dd8ee79fafe9c6782c8a.tar.gz openbsd-fd3a458c3776b8f3ff79dd8ee79fafe9c6782c8a.tar.bz2 openbsd-fd3a458c3776b8f3ff79dd8ee79fafe9c6782c8a.zip | |
Add -force_pubkey -multivalue-rdn -set_issuer -set_subject -utf8 to x509 app
The -set_issuer, -set_subject, and -force_pubkey features can be used to
'rechain' PKIs, for more information see https://labs.apnic.net/nro-ta/
and https://blog.apnic.net/2023/12/14/models-of-trust-for-the-rpki/
OK tb@
Diffstat (limited to 'src/usr.bin/openssl/openssl.1')
| -rw-r--r-- | src/usr.bin/openssl/openssl.1 | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1 index 3c376f4b46..b608b1634e 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.153 2023/12/29 12:06:48 tb Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.154 2024/01/12 11:24:03 job 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 | .\" |
| @@ -110,7 +110,7 @@ | |||
| 110 | .\" copied and put under another distribution licence | 110 | .\" copied and put under another distribution licence |
| 111 | .\" [including the GNU Public Licence.] | 111 | .\" [including the GNU Public Licence.] |
| 112 | .\" | 112 | .\" |
| 113 | .Dd $Mdocdate: December 29 2023 $ | 113 | .Dd $Mdocdate: January 12 2024 $ |
| 114 | .Dt OPENSSL 1 | 114 | .Dt OPENSSL 1 |
| 115 | .Os | 115 | .Os |
| 116 | .Sh NAME | 116 | .Sh NAME |
| @@ -6100,6 +6100,7 @@ version. | |||
| 6100 | .Op Fl extensions Ar section | 6100 | .Op Fl extensions Ar section |
| 6101 | .Op Fl extfile Ar file | 6101 | .Op Fl extfile Ar file |
| 6102 | .Op Fl fingerprint | 6102 | .Op Fl fingerprint |
| 6103 | .Op Fl force_pubkey Ar key | ||
| 6103 | .Op Fl hash | 6104 | .Op Fl hash |
| 6104 | .Op Fl in Ar file | 6105 | .Op Fl in Ar file |
| 6105 | .Op Fl inform Cm der | net | pem | 6106 | .Op Fl inform Cm der | net | pem |
| @@ -6109,6 +6110,7 @@ version. | |||
| 6109 | .Op Fl keyform Cm der | pem | 6110 | .Op Fl keyform Cm der | pem |
| 6110 | .Op Fl md5 | sha1 | 6111 | .Op Fl md5 | sha1 |
| 6111 | .Op Fl modulus | 6112 | .Op Fl modulus |
| 6113 | .Op Fl multivalue-rdn | ||
| 6112 | .Op Fl nameopt Ar option | 6114 | .Op Fl nameopt Ar option |
| 6113 | .Op Fl next_serial | 6115 | .Op Fl next_serial |
| 6114 | .Op Fl noout | 6116 | .Op Fl noout |
| @@ -6121,7 +6123,9 @@ version. | |||
| 6121 | .Op Fl purpose | 6123 | .Op Fl purpose |
| 6122 | .Op Fl req | 6124 | .Op Fl req |
| 6123 | .Op Fl serial | 6125 | .Op Fl serial |
| 6126 | .Op Fl set_issuer Ar name | ||
| 6124 | .Op Fl set_serial Ar n | 6127 | .Op Fl set_serial Ar n |
| 6128 | .Op Fl set_subject Ar name | ||
| 6125 | .Op Fl setalias Ar arg | 6129 | .Op Fl setalias Ar arg |
| 6126 | .Op Fl signkey Ar file | 6130 | .Op Fl signkey Ar file |
| 6127 | .Op Fl sigopt Ar nm:v | 6131 | .Op Fl sigopt Ar nm:v |
| @@ -6131,6 +6135,7 @@ version. | |||
| 6131 | .Op Fl subject_hash_old | 6135 | .Op Fl subject_hash_old |
| 6132 | .Op Fl text | 6136 | .Op Fl text |
| 6133 | .Op Fl trustout | 6137 | .Op Fl trustout |
| 6138 | .Op Fl utf8 | ||
| 6134 | .Op Fl x509toreq | 6139 | .Op Fl x509toreq |
| 6135 | .Ek | 6140 | .Ek |
| 6136 | .El | 6141 | .El |
| @@ -6254,6 +6259,16 @@ using the older algorithm as used by | |||
| 6254 | versions before 1.0.0. | 6259 | versions before 1.0.0. |
| 6255 | .It Fl modulus | 6260 | .It Fl modulus |
| 6256 | Print the value of the modulus of the public key contained in the certificate. | 6261 | Print the value of the modulus of the public key contained in the certificate. |
| 6262 | .It Fl multivalue-rdn | ||
| 6263 | This option causes the | ||
| 6264 | .Fl subj | ||
| 6265 | argument to be interpreted with full support for multivalued RDNs, | ||
| 6266 | for example | ||
| 6267 | .Qq "/DC=org/DC=OpenSSL/DC=users/UID=123456+CN=John Doe" . | ||
| 6268 | If | ||
| 6269 | .Fl multivalue-rdn | ||
| 6270 | is not used, the UID value is set to | ||
| 6271 | .Qq "123456+CN=John Doe" . | ||
| 6257 | .It Fl nameopt Ar option | 6272 | .It Fl nameopt Ar option |
| 6258 | Customise how the subject or issuer names are displayed, | 6273 | Customise how the subject or issuer names are displayed, |
| 6259 | either using a list of comma-separated options or by specifying | 6274 | either using a list of comma-separated options or by specifying |
| @@ -6686,12 +6701,25 @@ which contains the section to use. | |||
| 6686 | .It Fl extfile Ar file | 6701 | .It Fl extfile Ar file |
| 6687 | File containing certificate extensions to use. | 6702 | File containing certificate extensions to use. |
| 6688 | If not specified, no extensions are added to the certificate. | 6703 | If not specified, no extensions are added to the certificate. |
| 6704 | .It Fl force_pubkey Ar key | ||
| 6705 | Set the public key of the certificate to the public key contained in | ||
| 6706 | .Ar key . | ||
| 6689 | .It Fl keyform Cm der | pem | 6707 | .It Fl keyform Cm der | pem |
| 6690 | The format of the private key file used in the | 6708 | The format of the key file used in the |
| 6709 | .Fl force_pubkey | ||
| 6710 | and | ||
| 6691 | .Fl signkey | 6711 | .Fl signkey |
| 6692 | option. | 6712 | options. |
| 6693 | .It Fl req | 6713 | .It Fl req |
| 6694 | Expect a certificate request on input instead of a certificate. | 6714 | Expect a certificate request on input instead of a certificate. |
| 6715 | .It Fl set_issuer Ar name | ||
| 6716 | The issuer name to use. | ||
| 6717 | .Ar name | ||
| 6718 | must be formatted as /type0=value0/type1=value1/type2=...; | ||
| 6719 | characters may be escaped by | ||
| 6720 | .Sq \e | ||
| 6721 | (backslash); | ||
| 6722 | no spaces are skipped. | ||
| 6695 | .It Fl set_serial Ar n | 6723 | .It Fl set_serial Ar n |
| 6696 | The serial number to use. | 6724 | The serial number to use. |
| 6697 | This option can be used with either the | 6725 | This option can be used with either the |
| @@ -6710,6 +6738,14 @@ options) is not used. | |||
| 6710 | The serial number can be decimal or hex (if preceded by | 6738 | The serial number can be decimal or hex (if preceded by |
| 6711 | .Sq 0x ) . | 6739 | .Sq 0x ) . |
| 6712 | Negative serial numbers can also be specified but their use is not recommended. | 6740 | Negative serial numbers can also be specified but their use is not recommended. |
| 6741 | .It Fl set_subject Ar name | ||
| 6742 | The subject name to use. | ||
| 6743 | .Ar name | ||
| 6744 | must be formatted as /type0=value0/type1=value1/type2=...; | ||
| 6745 | characters may be escaped by | ||
| 6746 | .Sq \e | ||
| 6747 | (backslash); | ||
| 6748 | no spaces are skipped. | ||
| 6713 | .It Fl signkey Ar file | 6749 | .It Fl signkey Ar file |
| 6714 | Self-sign | 6750 | Self-sign |
| 6715 | .Ar file | 6751 | .Ar file |
| @@ -6730,6 +6766,10 @@ option is supplied. | |||
| 6730 | If the input is a certificate request, a self-signed certificate | 6766 | If the input is a certificate request, a self-signed certificate |
| 6731 | is created using the supplied private key using the subject name in | 6767 | is created using the supplied private key using the subject name in |
| 6732 | the request. | 6768 | the request. |
| 6769 | .It Fl utf8 | ||
| 6770 | Interpret field values read from a terminal or obtained from a configuration | ||
| 6771 | file as UTF-8 strings. | ||
| 6772 | By default, they are interpreted as ASCII. | ||
| 6733 | .It Fl x509toreq | 6773 | .It Fl x509toreq |
| 6734 | Convert a certificate into a certificate request. | 6774 | Convert a certificate into a certificate request. |
| 6735 | The | 6775 | The |
