<div dir="ltr"><div dir="ltr">Hi Ovidiu, thanks for your response.<div><br></div><div>I actually fixed it this morning, looking here: <a href="https://github.com/OpenSIPS/opensips/issues/2204">https://github.com/OpenSIPS/opensips/issues/2204</a></div><div><br></div><div>Led me to an incorrect tls_method setting.</div><div><br></div><div>Thanks and sorry for the false alarm :)</div><div><br></div><div>Mark.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 Oct 2020 at 16:41, Ovidiu Sas <<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Hello Mark,</div><div dir="auto"><br></div><div dir="auto">Please follow the instructions from the opensips website:</div><div><a href="https://www.opensips.org/Documentation/TroubleShooting-Crash" target="_blank">https://www.opensips.org/Documentation/TroubleShooting-Crash</a></div><br></div><div dir="auto">Regards,</div><div dir="auto">Ovidiu Sas</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 27, 2020 at 12:33 Mark Farmer <<a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone<br><div dir="ltr"></div><div><br></div><div>I am trying to setup TLS to talk to MS Teams but I am getting a segfault when I try to start OpenSIPS.</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">CRITICAL:core:sig_usr: segfault in attendant (starter) process!</span><br></div><div><br></div><div>The server is Ubuntu 20.04.1</div><div>OpenSIPS 3.1.0</div><div><br></div><div>From the log:</div><div><br></div><div><div>INFO:tls_mgm:mod_init: initializing TLS management</div><div>DBG:core:__search_avp_map: looking for [tls_sip_dom] avp - found -1</div><div>DBG:core:new_avp_alias: added alias tls_sip_dom with id 24</div><div>INFO:tls_mgm:mod_init: disabling compression due ZLIB problems</div><div>INFO:tls_mgm:init_tls_dom: Processing TLS domain 'dom1'</div><div>DBG:tls_mgm:init_tls_dom: no DH params file for tls domain 'dom1' defined, using default '(null)'</div><div>NOTICE:tls_mgm:init_tls_dom: No EC curve defined</div><div>DBG:tls_mgm:init_tls_dom: cipher list null ... setting default</div><div>INFO:tls_mgm:get_ssl_ctx_verify_mode: client verification activated. Client certificates are mandatory.</div><div>NOTICE:tls_mgm:init_tls_dom: no crl for tls, using none</div><div>DBG:core:count_module_procs: modules require 3 extra processes</div><div>CRITICAL:core:sig_usr: segfault in attendant (starter) process!</div><div>DBG:core:restore_segv_handler: restoring SIGSEGV handler...</div><div>DBG:core:restore_segv_handler: successfully restored system SIGSEGV handler</div><div>DBG:core:wait_status_code: read code 0 (0 byte)</div><div>INFO:core:daemonize: pre-daemon process exiting with -1</div></div><div><br></div><div>My TLS config:</div><div><br></div><div></div><div><div>#### TLS_MGM Module</div><div>loadmodule "tls_mgm.so"</div><div>modparam("tls_mgm", "server_domain", "dom1")</div><div>modparam("tls_mgm", "match_ip_address", "[dom1]xxx.xxx.xxx.xxx:5061")</div><div>modparam("tls_mgm", "match_sip_domain","[dom1]<a href="http://my.domain.com" target="_blank">my.domain.com</a>")</div><div>modparam("tls_mgm", "client_sip_domain_avp", "tls_sip_dom")</div><div>modparam("tls_mgm", "certificate", "[dom1]/usr/local/etc/opensips/tls/mycert.pem")</div><div>modparam("tls_mgm", "private_key", "[dom1]/usr/local/etc/opensips/tls/mykey.key")</div><div>modparam("tls_mgm", "ca_list", "[dom1]/usr/local/etc/opensips/tls/calist.pem")</div><div>modparam("tls_mgm", "ca_dir", "[dom1]/usr/local/etc/opensips/certs/CA")</div><div>modparam("tls_mgm", "tls_method", "[dom1]TLSv23")</div><div><br></div><div>#### PROTO_TLS Module</div><div>loadmodule "proto_tls.so"</div><div>modparam("proto_tls", "tls_max_msg_chunks", 8)</div><div>modparam("proto_tls", "trace_on", 1)</div><div>modparam("proto_tls", "trace_destination", "sngdst")</div><div>modparam("proto_tls", "tls_handshake_timeout", 300)</div></div><div><br></div><div>Is anyone able to help with this please?</div><div><br></div><div>Best regards</div><div>Mark.</div><div><br></div><div><div><br></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>-- <br><div dir="ltr">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>