summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-07-08 06:00:09 +0000
committertb <>2024-07-08 06:00:09 +0000
commitbbcb53027fa7a44c9c75122742a1200ac704c038 (patch)
tree0660b08f7a289a7bc7d42e20534167fa06a32665 /src
parent5dae2748533215faccdef012f6c3aafefd3a6812 (diff)
downloadopenbsd-bbcb53027fa7a44c9c75122742a1200ac704c038.tar.gz
openbsd-bbcb53027fa7a44c9c75122742a1200ac704c038.tar.bz2
openbsd-bbcb53027fa7a44c9c75122742a1200ac704c038.zip
Adjust manpage for SPKAC removal
ok jsing
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.188
1 files changed, 4 insertions, 84 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index aef1dc5bbf..9033309802 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.156 2024/05/07 21:00:18 tb Exp $ 1.\" $OpenBSD: openssl.1,v 1.157 2024/07/08 06:00:09 tb 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: May 7 2024 $ 113.Dd $Mdocdate: July 8 2024 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -338,7 +338,6 @@ into a nested structure.
338.Op Fl revoke Ar file 338.Op Fl revoke Ar file
339.Op Fl selfsign 339.Op Fl selfsign
340.Op Fl sigopt Ar nm:v 340.Op Fl sigopt Ar nm:v
341.Op Fl spkac Ar file
342.Op Fl ss_cert Ar file 341.Op Fl ss_cert Ar file
343.Op Fl startdate Ar date 342.Op Fl startdate Ar date
344.Op Fl status Ar serial 343.Op Fl status Ar serial
@@ -469,9 +468,7 @@ Don't output the text form of a certificate to the output file.
469The output file to output certificates to. 468The output file to output certificates to.
470The default is standard output. 469The default is standard output.
471The certificate details will also be printed out to this file in 470The certificate details will also be printed out to this file in
472PEM format, except that 471PEM format.
473.Fl spkac
474outputs DER format.
475.It Fl outdir Ar directory 472.It Fl outdir Ar directory
476The 473The
477.Ar directory 474.Ar directory
@@ -514,8 +511,7 @@ certificate requests were signed with, given with
514.Fl keyfile . 511.Fl keyfile .
515Certificate requests signed with a different key are ignored. 512Certificate requests signed with a different key are ignored.
516If 513If
517.Fl gencrl , 514.Fl gencrl
518.Fl spkac ,
519or 515or
520.Fl ss_cert 516.Fl ss_cert
521are given, 517are given,
@@ -532,20 +528,6 @@ signed with the self-signed certificate.
532.It Fl sigopt Ar nm:v 528.It Fl sigopt Ar nm:v
533Pass options to the signature algorithm during sign or certify operations. 529Pass options to the signature algorithm during sign or certify operations.
534The names and values of these options are algorithm-specific. 530The names and values of these options are algorithm-specific.
535.It Fl spkac Ar file
536A file containing a single Netscape signed public key and challenge,
537and additional field values to be signed by the CA.
538This will usually come from the
539KEYGEN tag in an HTML form to create a new private key.
540It is, however, possible to create SPKACs using the
541.Nm spkac
542utility.
543.Pp
544The file should contain the variable SPKAC set to the value of
545the SPKAC and also the required DN components as name value pairs.
546If it's necessary to include the same component twice,
547then it can be preceded by a number and a
548.Sq \&. .
549.It Fl ss_cert Ar file 531.It Fl ss_cert Ar file
550A single self-signed certificate to be signed by the CA. 532A single self-signed certificate to be signed by the CA.
551.It Fl startdate Ar date 533.It Fl startdate Ar date
@@ -5403,68 +5385,6 @@ bytes from the alignment provided by
5403.Ar number 5385.Ar number
5404should be between 0 and 16. 5386should be between 0 and 16.
5405.El 5387.El
5406.Tg spkac
5407.Sh SPKAC
5408.Bl -hang -width "openssl spkac"
5409.It Nm openssl spkac
5410.Bk -words
5411.Op Fl challenge Ar string
5412.Op Fl in Ar file
5413.Op Fl key Ar keyfile
5414.Op Fl noout
5415.Op Fl out Ar file
5416.Op Fl passin Ar arg
5417.Op Fl pubkey
5418.Op Fl spkac Ar spkacname
5419.Op Fl spksect Ar section
5420.Op Fl verify
5421.Ek
5422.El
5423.Pp
5424The
5425.Nm spkac
5426command processes signed public key and challenge (SPKAC) files.
5427It can print out their contents, verify the signature,
5428and produce its own SPKACs from a supplied private key.
5429.Pp
5430The options are as follows:
5431.Bl -tag -width Ds
5432.It Fl challenge Ar string
5433The challenge string, if an SPKAC is being created.
5434.It Fl in Ar file
5435The input file to read from,
5436or standard input if not specified.
5437Ignored if the
5438.Fl key
5439option is used.
5440.It Fl key Ar keyfile
5441Create an SPKAC file using the private key in
5442.Ar keyfile .
5443The
5444.Fl in , noout , spksect ,
5445and
5446.Fl verify
5447options are ignored, if present.
5448.It Fl noout
5449Do not output the text version of the SPKAC.
5450.It Fl out Ar file
5451The output file to write to,
5452or standard output if not specified.
5453.It Fl passin Ar arg
5454The key password source.
5455.It Fl pubkey
5456Output the public key of an SPKAC.
5457.It Fl spkac Ar spkacname
5458An alternative name for the variable containing the SPKAC.
5459The default is "SPKAC".
5460This option affects both generated and input SPKAC files.
5461.It Fl spksect Ar section
5462An alternative name for the
5463.Ar section
5464containing the SPKAC.
5465.It Fl verify
5466Verify the digital signature on the supplied SPKAC.
5467.El
5468.Tg ts 5388.Tg ts
5469.Sh TS 5389.Sh TS
5470.Bk -words 5390.Bk -words