[sr-dev] git:master:957b43dd: tls: docs - some updates to sample tls.cfg
Daniel-Constantin Mierla
miconda at gmail.com
Fri Aug 31 10:19:41 CEST 2018
Module: kamailio
Branch: master
Commit: 957b43ddea8dad434736e800a16581d49ccb2478
URL: https://github.com/kamailio/kamailio/commit/957b43ddea8dad434736e800a16581d49ccb2478
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-08-31T10:19:06+02:00
tls: docs - some updates to sample tls.cfg
---
Modified: src/modules/tls/tls.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/957b43ddea8dad434736e800a16581d49ccb2478.diff
Patch: https://github.com/kamailio/kamailio/commit/957b43ddea8dad434736e800a16581d49ccb2478.patch
---
diff --git a/src/modules/tls/tls.cfg b/src/modules/tls/tls.cfg
index c1a08f6759..dd25abd4ac 100644
--- a/src/modules/tls/tls.cfg
+++ b/src/modules/tls/tls.cfg
@@ -33,13 +33,13 @@ require_certificate = yes
# This is an example server domain for TLS connections
# received from the loopback interface. We allow
-# the use of SSLv2 and SSLv3 protocols here, we do
+# the use of TLSv1 protocols here, we do
# not require that clients present client certificates
# but if they present it it must be valid. We also use
# a special certificate and CA list for loopback
# interface.
#
-#[server:127.0.0.1:5061]
+#[server:5.6.7.8:5061]
#method = TLSv1
#verify_certificate = yes
#require_certificate = no
@@ -48,9 +48,11 @@ require_certificate = yes
#verify_depth = 3
#ca_list = local_ca.pem
#crl = local_crl.pem
+#server_name = kamailio.org
+#server_id = kamailio.org
-# Special settings for the example.sip (1.2.3.4) public SIP
-# server. We do not verify the certificate of the
+# Special settings for connecting to the example.sip (1.2.3.4)
+# public SIP server. We do not verify the certificate of the
# server because it can be expired. The server
# implements authentication using SSL client
# certificates so configure the client certificate
@@ -62,3 +64,5 @@ require_certificate = yes
#private_key = /usr/local/etc/kamailio/tls/example_key.pem
#ca_list = /usr/local/etc/kamailio/tls/example_ca.pem
#crl = /usr/local/etc/kamailio/tls/example_crl.pem
+#server_name = example.sip
+#server_id = example.sip
More information about the sr-dev
mailing list