Hello,
if the certificates are deployed, be sure that the process running kamailio has privileges to read them.
You can set:
debug=3
in kamailio.cfg and then run again kamailio, you should see many DEBUG messages, many from tls module that should give more hints about what happens there.
Cheers,
Daniel
Hi guys,I am a beginner in kamailio technology.I want to use kamailio in secure mode with TLS.But when I try to connect via TLS, I get this error in terminal:
Mar 08 12:29:36 KAMAILIO5 /usr/sbin/kamailio[1627]: ERROR: <core> [core/tcp_read.c:1512]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f6d71a82800 r: 0x7f6d71a828e8 (-1)
Mar 08 12:29:44 KAMAILIO5 /usr/sbin/kamailio[1629]: ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS accept:error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
tls.cfg :
[server:default]method = TLSv1.2+verify_certificate = norequire_certificate = noprivate_key = /etc/certs/kamailio/kamailio-key.pemcertificate = /etc/certs/kamailio/kamailio-cert.pemca_list = /etc/certs/demoCA/kamailio-cert.pem
I followed this tutorial to generate the ssl keys:
Can someone please help me?
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla