<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 13, 2014 at 9:52 PM, Owais ul Haq <span dir="ltr"><<a href="mailto:owaisulhaq@hotmail.com" target="_blank">owaisulhaq@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div><div dir="ltr">Hello,<br><br> I have installed  kamailio server. Now I am trying to use SSL for my server - client connections.<br>I have made certificates succesfully. Now when my client connects, I get the following error.<br>
<br>[tcp_read.c:882] : ERROR : TLS accept : error : 1408F10B : SSL routines:SSL3_GET_RECORD:wrong version number<br><br>I have tried finding solution online. I am asked to change the version number. Can some one please tell me where I have to change the version number ?? And change it to what ??<br>
Thanks.<br></div></div></blockquote></div><br></div><div class="gmail_extra">The error means that the client and server could not agree on which version<br></div><div class="gmail_extra">of SSL to use.<br><br></div><div class="gmail_extra">
In your tls.cfg, check which version you are using:<br><br>    [server:default]<br>    method = TLSv1<br><br></div><div class="gmail_extra">You can use openssl to confirm.<br><br>    $ openssl s_client -connect <a href="http://192.0.2.1:5061">192.0.2.1:5061</a><br>
    ...<br>    SSL-Session:<br>        Protocol  : TLSv1<br>        Cipher    : AES256-SHA<br><br></div><div class="gmail_extra">If your client only supports SSL3, you could set "method = SSL3", although TLS<br>
would be preferred if you can do it.<br><br>Corey<br></div></div>