diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-27 14:57:26 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-27 14:57:26 +0000 |
commit | 7d7446953b3c58ab3c9e15705a1c85a6f96dddf6 (patch) | |
tree | 35227e9bf8cc2c767fdb4a82ee8c453f8e2b4eb1 | |
parent | 004f1b9239e18308486ed78dcc70ce85cdc08b74 (diff) | |
download | gnunet-7d7446953b3c58ab3c9e15705a1c85a6f96dddf6.tar.gz gnunet-7d7446953b3c58ab3c9e15705a1c85a6f96dddf6.zip |
enabling certification verification in test
adding cfg options for certificate verification
-rw-r--r-- | src/transport/test_transport_api_https_peer2.conf | 3 | ||||
-rw-r--r-- | src/transport/transport.conf.in | 7 |
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 @@ | |||
3 | SERVICEHOME = /tmp/test-transport/api-https-p2/ | 3 | SERVICEHOME = /tmp/test-transport/api-https-p2/ |
4 | 4 | ||
5 | [transport-https_server] | 5 | [transport-https_server] |
6 | EXTERNAL_HOSTNAME = test | ||
7 | #EXTERNAL_HOSTNAME_ONLY = yes | ||
8 | VERIFY_EXTERNAL_HOSTNAME = YES | ||
6 | PORT = 12110 | 9 | PORT = 12110 |
7 | USE_IPv6 = YES | 10 | USE_IPv6 = YES |
8 | #BINDTO = 127.0.0.1 | 11 | #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 | |||
77 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | 77 | TESTING_IGNORE_KEYS = ACCEPT_FROM; |
78 | 78 | ||
79 | [transport-https_server] | 79 | [transport-https_server] |
80 | #EXTERNAL_HOSTNAME = <your hostname/path> | 80 | # EXTERNAL_HOSTNAME = <your hostname/path> |
81 | #VERIFY_EXTERNAL_HOSTNAME = YES | 81 | # EXTERNAL_HOSTNAME_ONLY = YES |
82 | # If you have a valid SSL certificate for your external hostname tell, | ||
83 | # clients to verify it | ||
84 | # VERIFY_EXTERNAL_HOSTNAME = YES | ||
82 | PORT = 4433 | 85 | PORT = 4433 |
83 | ADVERTISED_PORT = 4433 | 86 | ADVERTISED_PORT = 4433 |
84 | CRYPTO_INIT = NORMAL | 87 | CRYPTO_INIT = NORMAL |