Hi,<br><br>I would like a litle help :D!<br><br>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!<br>
<br>below is my configuration<br><br>-----------------------------------------<br>disable_tls = no<br>listen = tls:<a href="http://192.168.170.101:5061">192.168.170.101:5061</a><br>tls_verify_server = 1<br>tls_verify_client = 1<br>
tls_require_client_certificate = 1<br>tls_method = TLSv1<br>tls_certificate = "/usr/local/etc/kamailio/tls/user/user-cert.pem"<br>tls_private_key = "/usr/local/etc/kamailio/tls/user/user-privkey.pem"<br>
tls_ca_list <br><br>---------------------------------------<br><br>if (!www_authorize("<a href="http://192.168.170.101">192.168.170.101</a>", "subscriber"))<br> {<br> www_challenge("<a href="http://192.168.170.101">192.168.170.101</a>", "0");<br>
exit;<br> }<br><br>----------------------------------------<br><br>root@pst:/usr/local/etc/kamailio# ls -R tls/<br>tls/:<br>ca.conf README request.conf rootCA user user.conf<br><br>tls/rootCA:<br>cacert.pem certs index.txt private serial<br>
<br>tls/rootCA/certs:<br><br>tls/rootCA/private:<br>cakey.pem<br><br>tls/user:<br>user-calist.pem user-cert.pem user-cert_req.pem user-privkey.pem<br><br><br>thanks!!!<br><br><br>