Hello,

have you configured the client section in tls.cfg. Perhaps kamailio is trying to connect to itself (looping) to send the request.

Cheers,
Daniel

On 21/10/15 13:31, Ahmed Salem wrote:
Hi, 
I have a kamailio tls configuration which is working fine for calls & messages
In the tls configuration i set these parameters to yes for the server and client

verify_certificate = yes
require_certificate = yes

But when I use "kamctl fifo t_uac_dlg MESSAGE" to send a message I get the following errors, when verify_certificate & require_certificate are set to no the message is sent correctly.
Can somebody please help me resolve this issue.


tls [tls_server.c:1193]: tls_read_f(): TLS write:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

<core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading 

tls [tls_server.c:1193]: tls_read_f(): TLS accept:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca


<core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading 



Thanks

Ahmed


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com