Kamailio TLS Listener Not Binding to Port (5061 or 10061)
"steven.muchwe via sr-users" <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CABWexd8RVQwVrJcM4xt5TJQi0s3pEXaD1Xa+bmGx129yC6pCQQ@mail.gmail.com> |
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:
1.
*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.
2.
*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).
3.
*Steps Already Taken*:
-
Simplified TLS configuration (minimal_tls.cfg) with:
plaintext
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.
4.
*Log Excerpts*: (Attach relevant logs showing TLS initialization or lack
of binding activity.)
5.
*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
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!