summaryrefslogtreecommitdiff
path: root/src/cli-args.def
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli-args.def')
-rw-r--r--src/cli-args.def9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cli-args.def b/src/cli-args.def
index 8ad9a98ed3..e883320c61 100644
--- a/src/cli-args.def
+++ b/src/cli-args.def
@@ -85,7 +85,14 @@ flag = {
name = sni-hostname;
descrip = "Server's hostname for server name indication extension";
arg-type = string;
- doc = "Set explicitly the server name used in the TLS server name indication extension. That is useful when testing with servers setup on different DNS name than the intended. If not specified, the provided hostname is used.";
+ doc = "Set explicitly the server name used in the TLS server name indication extension. That is useful when testing with servers setup on different DNS name than the intended. If not specified, the provided hostname is used. Even with this option server certificate verification still uses the hostname passed on the main commandline. Use --verify-hostname to change this.";
+};
+
+flag = {
+ name = verify-hostname;
+ descrip = "Server's hostname to use for validation";
+ arg-type = string;
+ doc = "Set explicitly the server name to be used when validating the server's certificate.";
};
flag = {