.TP
.BI "\-\-rsa " path
RSA private key to use for authentication (if a password is required, it will
+be requested on demand). For other key types use \fI\-\-priv\fR.
+.TP
+.BI "\-\-priv " path
+Pivate key to use for authentication (if a password is required, it will
be requested on demand).
.TP
.BI "\-\-p12 " path
case CMD_OPT_RSA:
load_key(this, KEY_RSA, arg);
break;
+ case CMD_OPT_PRIV:
+ load_key(this, KEY_ANY, arg);
+ break;
case CMD_OPT_PKCS12:
load_pkcs12(this, arg);
break;
"certificate for authentication or trust chain validation", {}},
{ CMD_OPT_RSA, "rsa", required_argument, "path",
"RSA private key to use for authentication", {}},
+ { CMD_OPT_PRIV, "priv", required_argument, "path",
+ "Private key to use for authentication", {}},
{ CMD_OPT_PKCS12, "p12", required_argument, "path",
"PKCS#12 file with private key and certificates to use for ", {
"authentication and trust chain validation"