[OpenSIPS-Users] why tls not enable

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 5 14:54:28 CET 2016


Hi,

Are you sure opensips is actually started ? check logs file for error or 
do "ps auxw | grep opensips"

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 28.12.2015 11:19, chiu ching cheng wrote:
> Dear man :
>
> I install opensips 2.1.1 . It's seems ok . But I find tls service not 
> start . why ? It's strange . Any one can give a explain . Thanks .
>
>
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID:Ubuntu
> Description:Ubuntu 14.04.1 LTS
> Release:14.04
> Codename:trusty
> ------------------------------------------------------
> opensipsctl restart
>
> INFO: Restarting OpenSIPS :
> INFO: stopped
>
> INFO: Starting OpenSIPS :
> INFO: started (pid: 2706)
>
> ----------------------------------------------------
> openssips.cfg
>
> listen=tls:X.X.X.X:5061   # CUSTOMIZE ME
> rev_dns=no
>
> advertised_address="X.X.X.X"
> alias=X.X.X.X
>
>
> loadmodule "proto_udp.so"
>
>
> loadmodule "proto_tls.so"
> modparam("proto_tls","verify_cert", "0")
> modparam("proto_tls","require_cert", "0")
> modparam("proto_tls","tls_method", "TLSv1")
> modparam("proto_tls", "ciphers_list", "NULL")
> modparam("proto_tls","certificate", 
> "/usr/local/etc/opensips/tls/user/user-cert.pem")
> modparam("proto_tls","private_key", 
> "/usr/local/etc/opensips/tls/user/user-privkey.pem")
> modparam("proto_tls","ca_list", 
> "/usr/local/etc/opensips/tls/user/user-calist.pem")
>
> ----------------------------------------------------------------------------------------------------
>
> netstat -tuln | grep 5061
> tcp        0      0 0.0.0.0:25061 <http://0.0.0.0:25061> 0.0.0.0:*     
>           LISTEN
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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


More information about the Users mailing list