[sr-dev] git:master:4baf5760: tls: option to match TLS client config profile based on server_id

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 12 14:48:27 CET 2015


Module: kamailio
Branch: master
Commit: 4baf576076735018f1fe9812e6d7c64333ee62bf
URL: https://github.com/kamailio/kamailio/commit/4baf576076735018f1fe9812e6d7c64333ee62bf

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-12T14:42:12+01:00

tls: option to match TLS client config profile based on server_id

- server_id can be any string that uniquely identifies a client config
  profile, overriding the attempt to match on ip:port (+sni). This makes
  it easier to select the desired config profile, because the port is
  hard to guess for stream connections
- prameter xavp_cfg has to be enabled and inner xavp 'server_id' has to
  be set before relaying the sip message (before opening the client
  connection)

---

Modified: modules/tls/tls_cfg.c
Modified: modules/tls/tls_cfg.h
Modified: modules/tls/tls_config.c
Modified: modules/tls/tls_domain.c
Modified: modules/tls/tls_domain.h
Modified: modules/tls/tls_server.c

---

Diff:  https://github.com/kamailio/kamailio/commit/4baf576076735018f1fe9812e6d7c64333ee62bf.diff
Patch: https://github.com/kamailio/kamailio/commit/4baf576076735018f1fe9812e6d7c64333ee62bf.patch




More information about the sr-dev mailing list