diff options
author | Jakub Sławiński | 2007-10-03 23:32:17 +0200 |
---|---|---|
committer | Joshua Judson Rosen | 2014-07-17 21:15:04 +0200 |
commit | be7cc5efd2c1ad8227794f77c27e3376f509ef4a (patch) | |
tree | cd0c80a493c4c8218c01772e8951b9039fbc6f8d /src/usage.c | |
parent | Update copyright statements. (diff) | |
download | apf-be7cc5efd2c1ad8227794f77c27e3376f509ef4a.tar.gz |
v0.8.4autohistory
- Added (by Joshua Judson Rosen): certificate-based authentication
Diffstat (limited to 'src/usage.c')
-rw-r--r-- | src/usage.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usage.c b/src/usage.c index e3cfeff..08a85b8 100644 --- a/src/usage.c +++ b/src/usage.c @@ -67,7 +67,10 @@ server_long_usage(char* info) printf(" (default: no password)\n\n"); printf(" Configuration:\n\n"); printf(" -c, --cerfile - the name of the file with certificate\n"); - printf(" (default: cacert.pem)\n"); + printf(" (default: server-cert.pem)\n"); + printf(" -A, --cacerfile - the name of the file with CA certificates\n"); + printf(" (if used, require clients to have valid certificates)\n"); + printf(" -d, --cerdepth - the maximum depth of valid certificate-chains\n"); printf(" -k, --keyfile - the name of the file with RSA key (default: server.rsa)\n"); printf(" -f, --cfgfile - the name of the file with the configuration for the\n"); printf(" active forwarder (server)\n"); @@ -170,6 +173,8 @@ client_long_usage(char* info) printf(" --ignorepkeys - ignore invalid server's public keys\n\n"); printf(" Configuration:\n\n"); printf(" -k, --keyfile - the name of the file with RSA key (default: client.rsa)\n"); + printf(" -c, --cerfile - the name of the file with certificate\n"); + printf(" (default: no certificate used)\n"); printf(" -f, --cfgfile - the name of the file with the configuration for the\n"); printf(" active forwarder (client)\n"); printf(" -s, --storefile - the name of the file with stored public keys\n"); |