<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    have you configured the client section in tls.cfg. Perhaps kamailio
    is trying to connect to itself (looping) to send the request.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 21/10/15 13:31, Ahmed Salem wrote:<br>
    </div>
    <blockquote
cite="mid:CAMgC0DReaC11MvoX9kd=KS_WGbRGR65+EYGnvN9EkuYA=B_utA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi, </div>
        <div>I have a kamailio tls configuration which is working fine
          for calls & messages</div>
        <div>In the tls configuration i set these parameters to yes for
          the server and client</div>
        <div><br>
        </div>
        <div>verify_certificate = yes</div>
        <div>require_certificate = yes</div>
        <div><br>
        </div>
        <div>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.</div>
        <div>Can somebody please help me resolve this issue.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>tls [tls_server.c:1193]: tls_read_f(): TLS
          write:error:14090086:SSL
          routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed</div>
        <div><br>
        </div>
        <div><core> [tcp_read.c:1326]: tcp_read_req(): ERROR:
          tcp_read_req: error reading </div>
        <div><br>
        </div>
        <div>tls [tls_server.c:1193]: tls_read_f(): TLS
          accept:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert
          unknown ca</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><core> [tcp_read.c:1326]: tcp_read_req(): ERROR:
          tcp_read_req: error reading </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Ahmed</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>