charon-cmd: add an option to set a different server identity
This commit is contained in:
@@ -29,6 +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_REMOTE_IDENTITY, "remote-identity", required_argument, "identity",
|
||||
"server identity to expect, defaults to host" },
|
||||
{ CMD_OPT_CERT, "cert", required_argument, "path",
|
||||
"trusted certificate, for authentication or trust chain validation" },
|
||||
{ CMD_OPT_RSA, "rsa", required_argument, "path",
|
||||
|
||||
Reference in New Issue
Block a user