charon-cmd: load certificates and RSA private keys

This commit is contained in:
Martin Willi
2013-05-06 15:28:26 +02:00
parent 78d7a0f7e2
commit 2baa7bbedb
6 changed files with 210 additions and 14 deletions
+4
View File
@@ -29,4 +29,8 @@ cmd_option_t cmd_options[CMD_OPT_COUNT] = {
"DNS name or address to connect to" },
{ CMD_OPT_IDENTITY, "identity", required_argument, "identity",
"identity the client uses for the IKE exchange" },
{ CMD_OPT_CERT, "cert", required_argument, "path",
"trusted certificate, for authentication or trust chain validation" },
{ CMD_OPT_RSA, "rsa", required_argument, "path",
"RSA private key to use for authentication" },
};