Skip to content

Commit

Permalink
Moves tls config into Kamailio.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopace committed Feb 13, 2018
1 parent 8c58946 commit 38f177b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions kamailio-local.cfg.sample
Expand Up @@ -15,3 +15,6 @@

#!substdef "!PEER_REGEX_2!^680001|^680681|^688201|^688261|^688101|^688001|^694071|^696101|^692201|^696951|^688851|^688471|^702701|^100001|^687251|^711301|^709661!g"
#!substdef "!PEER_DOMAIN_2!sip.rhizomatica.org!g"

#!substdef "!PRIVATE_KEY_PATH!/etc/letsencrypt/live/rhizortc.specialstories.org/privkey.pem!g"
#!substdef "!CERTIFICATE_PATH!/etc/letsencrypt/live/rhizortc.specialstories.org/fullchain.pem!g"
4 changes: 3 additions & 1 deletion kamailio.cfg
Expand Up @@ -523,7 +523,9 @@ modparam("usrloc", "nat_bflag", FLB_NATB)

#!ifdef WITH_TLS
# ----- tls params -----
modparam("tls", "config", "/etc/kamailio/tls.cfg")
modparam("tls", "tls_method", "TLSv1")
modparam("tls", "certificate", "CERTIFICATE_PATH")
modparam("tls", "private", "PRIVATE_KEY_PATH")
#!endif

#!ifdef WITH_ANTIFLOOD
Expand Down

0 comments on commit 38f177b

Please sign in to comment.