diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/openssl.1 | 88 |
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. | |||
| 469 | The output file to output certificates to. | 468 | The output file to output certificates to. |
| 470 | The default is standard output. | 469 | The default is standard output. |
| 471 | The certificate details will also be printed out to this file in | 470 | The certificate details will also be printed out to this file in |
| 472 | PEM format, except that | 471 | PEM format. |
| 473 | .Fl spkac | ||
| 474 | outputs DER format. | ||
| 475 | .It Fl outdir Ar directory | 472 | .It Fl outdir Ar directory |
| 476 | The | 473 | The |
| 477 | .Ar directory | 474 | .Ar directory |
| @@ -514,8 +511,7 @@ certificate requests were signed with, given with | |||
| 514 | .Fl keyfile . | 511 | .Fl keyfile . |
| 515 | Certificate requests signed with a different key are ignored. | 512 | Certificate requests signed with a different key are ignored. |
| 516 | If | 513 | If |
| 517 | .Fl gencrl , | 514 | .Fl gencrl |
| 518 | .Fl spkac , | ||
| 519 | or | 515 | or |
| 520 | .Fl ss_cert | 516 | .Fl ss_cert |
| 521 | are given, | 517 | are 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 |
| 533 | Pass options to the signature algorithm during sign or certify operations. | 529 | Pass options to the signature algorithm during sign or certify operations. |
| 534 | The names and values of these options are algorithm-specific. | 530 | The names and values of these options are algorithm-specific. |
| 535 | .It Fl spkac Ar file | ||
| 536 | A file containing a single Netscape signed public key and challenge, | ||
| 537 | and additional field values to be signed by the CA. | ||
| 538 | This will usually come from the | ||
| 539 | KEYGEN tag in an HTML form to create a new private key. | ||
| 540 | It is, however, possible to create SPKACs using the | ||
| 541 | .Nm spkac | ||
| 542 | utility. | ||
| 543 | .Pp | ||
| 544 | The file should contain the variable SPKAC set to the value of | ||
| 545 | the SPKAC and also the required DN components as name value pairs. | ||
| 546 | If it's necessary to include the same component twice, | ||
| 547 | then 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 |
| 550 | A single self-signed certificate to be signed by the CA. | 532 | A 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 |
| 5404 | should be between 0 and 16. | 5386 | should 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 | ||
| 5424 | The | ||
| 5425 | .Nm spkac | ||
| 5426 | command processes signed public key and challenge (SPKAC) files. | ||
| 5427 | It can print out their contents, verify the signature, | ||
| 5428 | and produce its own SPKACs from a supplied private key. | ||
| 5429 | .Pp | ||
| 5430 | The options are as follows: | ||
| 5431 | .Bl -tag -width Ds | ||
| 5432 | .It Fl challenge Ar string | ||
| 5433 | The challenge string, if an SPKAC is being created. | ||
| 5434 | .It Fl in Ar file | ||
| 5435 | The input file to read from, | ||
| 5436 | or standard input if not specified. | ||
| 5437 | Ignored if the | ||
| 5438 | .Fl key | ||
| 5439 | option is used. | ||
| 5440 | .It Fl key Ar keyfile | ||
| 5441 | Create an SPKAC file using the private key in | ||
| 5442 | .Ar keyfile . | ||
| 5443 | The | ||
| 5444 | .Fl in , noout , spksect , | ||
| 5445 | and | ||
| 5446 | .Fl verify | ||
| 5447 | options are ignored, if present. | ||
| 5448 | .It Fl noout | ||
| 5449 | Do not output the text version of the SPKAC. | ||
| 5450 | .It Fl out Ar file | ||
| 5451 | The output file to write to, | ||
| 5452 | or standard output if not specified. | ||
| 5453 | .It Fl passin Ar arg | ||
| 5454 | The key password source. | ||
| 5455 | .It Fl pubkey | ||
| 5456 | Output the public key of an SPKAC. | ||
| 5457 | .It Fl spkac Ar spkacname | ||
| 5458 | An alternative name for the variable containing the SPKAC. | ||
| 5459 | The default is "SPKAC". | ||
| 5460 | This option affects both generated and input SPKAC files. | ||
| 5461 | .It Fl spksect Ar section | ||
| 5462 | An alternative name for the | ||
| 5463 | .Ar section | ||
| 5464 | containing the SPKAC. | ||
| 5465 | .It Fl verify | ||
| 5466 | Verify 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 |
