Also fixes some formatting in the man pages.
command_register((command_t) {
est, 'E', "est",
"Enroll an X.509 certificate with an EST server",
- {"--url url [--in file] [--cacert file]+ [-userpass username:password]",
- "[--cert file|--certid hex --key file|--keyid hex] [--interval time]",
+ {"--url url [--label label] [--in file] --cacert file",
+ "[--cert file|--certid hex --key file|--keyid hex]",
+ "[--userpass username:password] [--interval time]",
"[--maxpolltime time] [--outform der|pem]"},
{
{"help", 'h', 0, "show usage information"},
{"url", 'u', 1, "URL of the EST server"},
{"label", 'l', 1, "label in the EST server path"},
{"in", 'i', 1, "PKCS#10 input file, default: stdin"},
- {"cacert", 'C', 1, "CA certificate"},
+ {"cacert", 'C', 1, "CA certificate(s)"},
{"cert", 'c', 1, "old certificate about to be renewed"},
{"certid", 'X', 1, "smartcard or TPM certificate object handle" },
{"key", 'k', 1, "old private key about to be replaced"},
{
command_register((command_t) {
estca, 'e', "estca",
- "get CA certificate[s] from a EST server",
- {"--url url [--cacert file]+ [--caout file] [--outform der|pem] [--force]"},
+ "get CA certificate[s] from an EST server",
+ {"--url url [--label label] --cacert file [--caout file]",
+ "[--outform der|pem] [--force]"},
{
{"help", 'h', 0, "show usage information"},
{"url", 'u', 1, "URL of the EST server"},
{"label", 'l', 1, "label in the EST server path"},
- {"cacert", 'C', 1, "TLS CA certificate"},
+ {"cacert", 'C', 1, "TLS CA certificate(s)"},
{"caout", 'c', 1, "CA certificate [template]"},
{"outform", 'f', 1, "encoding of stored certificates, default: der"},
{"force", 'F', 0, "force overwrite of existing files"},
.SH "SYNOPSIS"
.
.SY pki\ \-\-est
-.BI\-\-\-url\~ url
+.BI \-\-\-url\~ url
.OP \-\-label label
.OP \-\-in file
.BI \-\-cacert\~ file
.RB [ \-\-cert
.IR file | \fB\-\-certid\fR
-.IR hex ]
-.RB [ \-\-key
+.IB hex\~ \-\-key
.IR file | \fB\-\-keyid\fR
.IR hex ]
.OP \-\-userpass username:password
.B NOTE:
For a successful HTTPS connection, trust must be established into the EST server
certificate. The TLS trust chain including the root CA certificate and
-optionally intermediate CA certificates must be given using [multiple]
-.B --cacert*
+optionally intermediate CA certificates must be given using multiple
+.B --cacert
options.
.P
The
.SH "SYNOPSIS"
.
.SY pki\ \-\-estca
-.BI\-\-\-url\~ url
+.BI \-\-url\~ url
.OP \-\-label label
-.BI\-\-\-cacert\~ file
+.BI \-\-cacert\~ file
.OP \-\-caout file
.OP \-\-outform encoding
.OP \-\-force
.B NOTE:
For a successful HTTPS connection, trust must be established into the EST server
certificate. The TLS trust chain including the root CA certificate and optionally
-intermediate CA certificates must be given using [multiple]
+intermediate CA certificates must be given using multiple
.B --cacert
options.
.P
.SY pki\ \-\-scep
.BI\-\-\-url\~ url
.OP \-\-in file
-.BI \-\-dn\~ distinguished-name
+.OP \-\-dn\~ distinguished-name
.OP \-\-san subjectAltName
.OP \-\-profile profile
.OP \-\-password password