[OpenSIPS-Users] tls for opensips

george wu aihuawu2012 at 163.com
Thu Sep 11 11:44:23 CEST 2014


I can make opensips works for tcp and udp.
But the tls does not work.

 I test it with linphone.
But it complains:
Could not start tls transport on port 5161, maybe this port is already used.
I google it and get
http://linuxexchange.org/questions/3383/error-when-configuring-linphone-to-use-sip-tls-and-zrtp-encryption
He said it is problem of server.

I can't find any error message from opensips.
How can I debug it? thanks.

This is the opensips.cfg part for tls:



listen=udp:192.168.1.3:5060   # CUSTOMIZE ME

disable_tcp=no
listen=tcp:192.168.1.3:5060   # CUSTOMIZE ME

disable_tls=no
listen=tls:192.168.1.3:5061   # CUSTOMIZE ME
tls_verify_server=0
tls_verify_client = 0
tls_require_client_certificate = 0
tls_method = TLSv1
tls_certificate = "/develop/opensips/etc/opensips/tls/user/user-cert.pem"
tls_private_key = "/develop/opensips/etc/opensips/tls/user/user-privkey.pem"
tls_ca_list = "/develop/opensips/etc/opensips/tls/user/user-calist.pem"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140911/f5ca4894/attachment.htm>


More information about the Users mailing list