Hi List
i'm trying config sip with tls module, my config for module in kamailio.cfg
is this:
#!ifdef WITH_TLS
# ----- tls params -----
modparam("tls", "config", "/etc/kamailio/tls.cfg")
#!endif
in tls.cfg is this:
[server:192.168.1.1:5061]
method = SSLv23
verify_certificate = no
require_certificate = no
private_key = /etc/kamailio/key.pem
certificate = /etc/kamailio/cert.pem
[client:default]
verify_certificate = no
require_certificate = no
But when a reload kamailio
i get the follow error:
Mar 18 16:36:50 softswitch /usr/sbin/kamailio[23330]: ERROR: tls
[tls_domain.c:906]: load_private_key(): TLSs<default>: Unable to load
private key file '/etc/kamailio/cert.pem'
Why try to find '/etc/kamailio/cert.pem' for a private key??