OPTION("script", 1, 's'),
OPTION("script-tun", 0, 'S'),
OPTION("syslog", 0, 'l'),
- OPTION("key-type", 1, 'K'),
OPTION("key-password", 1, 'p'),
OPTION("proxy", 1, 'P'),
OPTION("user", 1, 'u'),
next:
if (!config_file) {
opt = getopt_long(argc, argv,
- "bC:c:e:Ddg:hi:k:K:lpP:Q:qSs:U:u:Vvx:",
+ "bC:c:e:Ddg:hi:k:lpP:Q:qSs:U:u:Vvx:",
long_options, NULL);
*config_arg = optarg;
case 'k':
vpninfo->sslkey = keep_config_arg();
break;
- case 'K':
- if (!strcasecmp(config_arg, "PKCS#12") ||
- !strcasecmp(config_arg, "PKCS12")) {
- vpninfo->cert_type = CERT_TYPE_PKCS12;
- } else if (!strcasecmp(config_arg, "TPM")) {
- vpninfo->cert_type = CERT_TYPE_TPM;
- } else if (!strcasecmp(config_arg, "PEM")) {
- vpninfo->cert_type = CERT_TYPE_PEM;
- } else {
- fprintf(stderr, _("Unknown certificate type '%s'\n"),
- config_arg);
- usage();
- }
case 'd':
vpninfo->deflate = 1;
break;
.OP \-c,\-\-certificate cert
.OP \-e,\-\-cert\-expire\-warning days
.OP \-k,\-\-sslkey key
-.OP \-K,\-\-key\-type type
.OP \-C,\-\-cookie cookie
.OP \-\-cookie\-on\-stdin
.OP \-d,\-\-deflate
.OP \-\-no\-proxy
.OP \-\-libproxy
.OP \-\-key\-password\-from\-fsid
-.OP \-\-key\-type type
.OP \-q,\-\-quiet
.OP \-Q,\-\-queue\-len len
.OP \-s,\-\-script vpnc\-script
.EE
It is not the same as the 128\-bit UUID of the file system.
.TP
-.B \-\-key\-type=TYPE
-Type of private key file (PKCS#12, TPM or PEM)
-.TP
.B \-q,\-\-quiet
Less output
.TP