Hello Kamailio Community,
I’ve been troubleshooting an issue with Kamailio where the TLS listener fails to bind to any specified ports (5061
, 10061
, etc.), despite valid configurations and certificates. Here’s a summary of my setup and steps taken:
Environment Details:
Kamailio version: 5.7.4
OpenSSL version: 3.0.13
Operating System: Ubuntu (Noble Release)
TLS module (tls.so
) is installed and loaded.
Issue Details:
Configurations validate successfully (config file ok
).
OpenSSL works perfectly when testing certificates and keys with s_server
, binding to ports (5061
and others).
Kamailio fails to bind TLS listeners (ss -tulnp
shows no activity on the specified ports).
Steps Already Taken:
Simplified TLS configuration (minimal_tls.cfg
) with:
listen=tls:10.14.202.39:5061
loadmodule "tls.so"
modparam("tls", "certificate", "/home/localtech/vicissl/868a963bc33d5eae.crt")
modparam("tls", "private_key", "/home/localtech/vicissl/private.key")
Tested multiple ports (5061
, 10061
, 15061
).
Checked firewall settings (iptables
) and confirmed no restrictions.
Rebuilt Kamailio from source and ensured TLS modules are linked to OpenSSL.
Ran Kamailio with maximum debugging (-ddd
) to examine logs—no binding-related errors appeared.
Log Excerpts: (Attach relevant logs showing TLS initialization or lack of binding activity.)
Question: What additional steps or configurations should I explore to resolve this issue? Could this be a compatibility problem between Kamailio 5.7.4 and OpenSSL 3.0.13?
Any guidance or insights would be greatly appreciated!
Best regards, Steven Muchwe Njoroge