summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-06-27 14:57:26 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-06-27 14:57:26 +0000
commit7d7446953b3c58ab3c9e15705a1c85a6f96dddf6 (patch)
tree35227e9bf8cc2c767fdb4a82ee8c453f8e2b4eb1
parent004f1b9239e18308486ed78dcc70ce85cdc08b74 (diff)
enabling certification verification in test
adding cfg options for certificate verification
-rw-r--r--src/transport/test_transport_api_https_peer2.conf3
-rw-r--r--src/transport/transport.conf.in7
2 files changed, 8 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_https_peer2.conf b/src/transport/test_transport_api_https_peer2.conf
index 566997f93..19cd16959 100644
--- a/src/transport/test_transport_api_https_peer2.conf
+++ b/src/transport/test_transport_api_https_peer2.conf
@@ -3,6 +3,9 @@
SERVICEHOME = /tmp/test-transport/api-https-p2/
[transport-https_server]
+EXTERNAL_HOSTNAME = test
+#EXTERNAL_HOSTNAME_ONLY = yes
+VERIFY_EXTERNAL_HOSTNAME = YES
PORT = 12110
USE_IPv6 = YES
#BINDTO = 127.0.0.1
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in
index 88eb914aa..863c58e4a 100644
--- a/src/transport/transport.conf.in
+++ b/src/transport/transport.conf.in
@@ -77,8 +77,11 @@ MAX_CONNECTIONS = 128
TESTING_IGNORE_KEYS = ACCEPT_FROM;
[transport-https_server]
-#EXTERNAL_HOSTNAME = <your hostname/path>
-#VERIFY_EXTERNAL_HOSTNAME = YES
+# EXTERNAL_HOSTNAME = <your hostname/path>
+# EXTERNAL_HOSTNAME_ONLY = YES
+# If you have a valid SSL certificate for your external hostname tell,
+# clients to verify it
+# VERIFY_EXTERNAL_HOSTNAME = YES
PORT = 4433
ADVERTISED_PORT = 4433
CRYPTO_INIT = NORMAL