<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.</p>
<p>I have followed the tutorial about setting up the TLS. ( <a href="http://www.opensips.org/Documentation/Tutorials-TLS-2-1">
http://www.opensips.org/Documentation/Tutorials-TLS-2-1</a> ). Then, I have run the command: "</p>
<pre>openssl s_client -showcerts -debug -connect <your-ip-address>:<port> -no_ssl2 -bugs", to test the handshake.<br><br>But, what is an example of result for this command, telling me that everything is ok?<br><br>I got:<br><br>CONNECTED(00000003)<br>...<br>...<br>...<br>verify error:num=19:self signed certificate in certificate chain<br>verify return:0<br>..<br>..<br>..<br>---<br>No client certificate CA names sent<br>---<br>SSL handshake has read 1567 bytes and written 285 bytes<br>---<br>New, TLSv1/SSLv3, Cipher is AES256-SHA<br>Server public key is 2048 bit<br>Secure Renegotiation IS supported<br>Compression: NONE<br>Expansion: NONE<br>SSL-Session:<br> Protocol : TLSv1<br> Cipher : AES256-SHA<br> Session-ID: <br> Session-ID-ctx: <br> Master-Key: 90D6174E13EFDF2317B8F24D0AEBC5A56C3633D7DFC1BF8ADF186672CD9F26B5D812BE595775DFE6416C31DDE736D217<br> Key-Arg : None<br> PSK identity: None<br> PSK identity hint: None<br> SRP username: None<br> Start Time: 1438110339<br> Timeout : 300 (sec)<br> Verify return code: 19 (self signed certificate in certificate chain)<br><br>So, did the handshake work? If not, what might be wrong?<br>Any hint will be very helpful! <br><br>Best Regards.<br><br></pre>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</body>
</html>