summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2004-07-23 10:35:44 +0000
committerjmc <>2004-07-23 10:35:44 +0000
commit043312f7e243d6fd5c6e55f0c085a3316efff3b6 (patch)
treefa0c33d94ab7e2ba0db59371ad211b7c3eeba6ee
parent399e1958904c4c167e3bc4f17daca5a4926f5edf (diff)
downloadopenbsd-043312f7e243d6fd5c6e55f0c085a3316efff3b6.tar.gz
openbsd-043312f7e243d6fd5c6e55f0c085a3316efff3b6.tar.bz2
openbsd-043312f7e243d6fd5c6e55f0c085a3316efff3b6.zip
tweaks for openssl spkac;
-rw-r--r--src/usr.sbin/openssl/openssl.164
1 files changed, 33 insertions, 31 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 561a8e0deb..d7adc32f08 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.45 2004/07/02 16:08:09 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.46 2004/07/23 10:35:44 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.\"
@@ -6817,28 +6817,40 @@ benchmarks in parallel.
6817.\" 6817.\"
6818.Sh SPKAC 6818.Sh SPKAC
6819.Nm openssl spkac 6819.Nm openssl spkac
6820.Bk -words
6821.Op Fl noout
6822.Op Fl pubkey
6823.Op Fl verify
6824.Op Fl challenge Ar string
6825.Op Fl engine Ar id
6820.Op Fl in Ar file 6826.Op Fl in Ar file
6821.Op Fl out Ar file
6822.Op Fl key Ar keyfile 6827.Op Fl key Ar keyfile
6828.Op Fl out Ar file
6823.Op Fl passin Ar arg 6829.Op Fl passin Ar arg
6824.Op Fl challenge Ar string
6825.Op Fl pubkey
6826.Op Fl spkac Ar spkacname 6830.Op Fl spkac Ar spkacname
6827.Op Fl spksect Ar section 6831.Op Fl spksect Ar section
6828.Op Fl noout 6832.Ek
6829.Op Fl verify
6830.Op Fl engine Ar id
6831.Pp 6833.Pp
6832The 6834The
6833.Nm spkac 6835.Nm spkac
6834command processes Netscape signed public key and challenge 6836command processes Netscape signed public key and challenge
6835.Pq SPKAC 6837.Pq SPKAC
6836files. 6838files.
6837It can print out their contents, verify the signature and 6839It can print out their contents, verify the signature,
6838produce its own SPKACs from a supplied private key. 6840and produce its own SPKACs from a supplied private key.
6839.Pp 6841.Pp
6840The options are as follows: 6842The options are as follows:
6841.Bl -tag -width "XXXX" 6843.Bl -tag -width "XXXX"
6844.It Fl challenge Ar string
6845Specifies the challenge string if an SPKAC is being created.
6846.It Fl engine Ar id
6847Specifying an engine (by it's unique
6848.Ar id
6849string) will cause
6850.Nm spkac
6851to attempt to obtain a functional reference to the specified engine,
6852thus initialising it if needed.
6853The engine will then be set as the default for all available algorithms.
6842.It Fl in Ar file 6854.It Fl in Ar file
6843This specifies the input 6855This specifies the input
6844.Ar file 6856.Ar file
@@ -6846,27 +6858,31 @@ to read from, or standard input if this option is not specified.
6846Ignored if the 6858Ignored if the
6847.Fl key 6859.Fl key
6848option is used. 6860option is used.
6849.It Fl out Ar file
6850Specifies the output
6851.Ar file
6852to write to, or standard output by default.
6853.It Fl key Ar keyfile 6861.It Fl key Ar keyfile
6854Create an SPKAC file using the private key in 6862Create an SPKAC file using the private key in
6855.Ar keyfile . 6863.Ar keyfile .
6856The 6864The
6857.Fl in , noout , spksect 6865.Fl in , noout , spksect ,
6858and 6866and
6859.Fl verify 6867.Fl verify
6860options are ignored if present. 6868options are ignored if present.
6861.It Fl passin Ar password 6869.It Fl noout
6870Don't output the text version of the SPKAC
6871.Pq not used if an SPKAC is being created .
6872.It Fl out Ar file
6873Specifies the output
6874.Ar file
6875to write to, or standard output by default.
6876.It Fl passin Ar arg
6862The input file password source. 6877The input file password source.
6863For more information about the format of 6878For more information about the format of
6864.Ar arg , 6879.Ar arg ,
6865see the 6880see the
6866.Sx PASS PHRASE ARGUMENTS 6881.Sx PASS PHRASE ARGUMENTS
6867section above. 6882section above.
6868.It Fl challenge Ar string 6883.It Fl pubkey
6869Specifies the challenge string if an SPKAC is being created. 6884Output the public key of an SPKAC
6885.Pq not used if an SPKAC is being created .
6870.It Fl spkac Ar spkacname 6886.It Fl spkac Ar spkacname
6871Allows an alternative name for the variable containing the SPKAC. 6887Allows an alternative name for the variable containing the SPKAC.
6872The default is "SPKAC". 6888The default is "SPKAC".
@@ -6876,22 +6892,8 @@ Allows an alternative name for the
6876.Ar section 6892.Ar section
6877containing the SPKAC. 6893containing the SPKAC.
6878The default is the default section. 6894The default is the default section.
6879.It Fl noout
6880Don't output the text version of the SPKAC
6881.Pq not used if an SPKAC is being created .
6882.It Fl pubkey
6883Output the public key of an SPKAC
6884.Pq not used if an SPKAC is being created .
6885.It Fl verify 6895.It Fl verify
6886Verifies the digital signature on the supplied SPKAC. 6896Verifies the digital signature on the supplied SPKAC.
6887.It Fl engine Ar id
6888Specifying an engine (by it's unique
6889.Ar id
6890string) will cause
6891.Nm spkac
6892to attempt to obtain a functional reference to the specified engine,
6893thus initialising it if needed.
6894The engine will then be set as the default for all available algorithms.
6895.El 6897.El
6896.Sh SPKAC EXAMPLES 6898.Sh SPKAC EXAMPLES
6897Print out the contents of an SPKAC: 6899Print out the contents of an SPKAC: