Hi, You do not have use the tlsops module in order to have a TLS connection between two servers. First of all please see the TLS tutorial : http://www.opensips.org/html/docs/tutorials/tls-1.4.x.html
Shortly, what you have to do is to define a TLS listening socket (listen=tls:192.168.1.2:5061) and all TLS related params (for configuring the TLS certificates to be used). To see an example, please refer to the opensips default config file (opensips.cfg) that comes with opensips sources - there is a TLS part in there. Regards, Bogdan zhangchao00001 wrote: > > > Hello everybody: > I've have some questions about tls connection. > How to build the tls connection between two proxy? there's just one > function is_peer_verified() in tlsops module. Is it that we set the > paramer, the proxy will connect by itself or we should build the > connection in the config file explicitly? could someone give me a example? > Proxy1<----TLS--->Proxy2 > > > ------------------------------------------------------------------------ > "中国制造 ",讲述中国60年往事 > <http://news.163.com/madeinchina/index.html?from=mailfooter> > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
