Hi, Jonathan!

Running OpenSIPS in combination with openssl 3.x may lead to unexpected behavior like you've mentioned. There have been several discussions around this, that's why we decided to do a complete rework in 4.0 [1]. In the meantime, if you are stuck with 3.6, you may give tls_wolfssl a try, it might temporarily sort out your problems.

[1] https://blog.opensips.org/2026/04/08/tcp-tls-rework-in-opensips-4-0/

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 5/18/26 1:45 PM, Jonathan Hunter wrote:
Hi all,

Has anyone else had issues with OpenSIPS 3.6 running on debian 11 or 12?

We have been running 3.5 in production with no issues, however when testing
3.6 we are getting errors relating to the tls_openssl module and the AUTH
module;

/usr/sbin/opensips[34922]: ERROR:tls_openssl:openssl_init_tls_dom: cannot
create ssl context for tls domain 'xxxxxxxx'

INFO:auth:mod_init: initializing...
  /usr/sbin/opensips[34922]: ERROR:core:generate_random_secret: RAND_bytes()
failed, error = 0
  /usr/sbin/opensips[34922]: ERROR:auth:mod_init: failed to generate random
secret
/usr/sbin/opensips[34922]: ERROR:core:init_mod: failed to initialize module
auth
/usr/sbin/opensips[34922]: ERROR:core:main: failed to initialize modules!

Has anyone else experienced these issues or should I raise into github?

Thanks

Jon


Hi all,

Has anyone else had issues with OpenSIPS 3.6 running on debian 11 or 12?

We have been running 3.5 in production with no issues, however when testing 3.6 we are getting errors relating to the tls_openssl module and the AUTH module;

/usr/sbin/opensips[34922]: ERROR:tls_openssl:openssl_init_tls_dom: cannot create ssl context for tls domain 'xxxxxxxx'

INFO:auth:mod_init: initializing...
 /usr/sbin/opensips[34922]: ERROR:core:generate_random_secret: RAND_bytes() failed, error = 0  /usr/sbin/opensips[34922]: ERROR:auth:mod_init: failed to generate random secret /usr/sbin/opensips[34922]: ERROR:core:init_mod: failed to initialize module auth
/usr/sbin/opensips[34922]: ERROR:core:main: failed to initialize modules!

Has anyone else experienced these issues or should I raise into github?

Thanks

Jon


_______________________________________________
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

Reply via email to