Hi,
I would like a litle help :D!
I installed kamailio and everything is ok :D! But i want to use TLS, but when i setup TLS in kamailio, don't work the REGISTER (i can't register my sofphone ...). And i compliled kamilio with TLS!!! when i comment the cofigurantion TLS and use port 5060 works!
below is my configuration
-----------------------------------------
disable_tls = no
listen = tls:192.168.170.101:5061
tls_verify_server = 1
tls_verify_client = 1
tls_require_client_certificate = 1
tls_method = TLSv1
tls_certificate = "/usr/local/etc/kamailio/tls/user/user-cert.pem"
tls_private_key = "/usr/local/etc/kamailio/tls/user/user-privkey.pem"
tls_ca_list
---------------------------------------
if (!www_authorize("192.168.170.101", "subscriber"))
{
www_challenge("192.168.170.101", "0");
exit;
}
----------------------------------------
root@pst:/usr/local/etc/kamailio# ls -R tls/
tls/:
ca.conf README request.conf rootCA user user.conf
tls/rootCA:
cacert.pem certs index.txt private serial
tls/rootCA/certs:
tls/rootCA/private:
cakey.pem
tls/user:
user-calist.pem user-cert.pem user-cert_req.pem user-privkey.pem
thanks!!!