<div dir="ltr">Hi,<div><br></div><div>Further to this, I enabled the openssl alerts. I observed the following issue.</div><div><br></div><div>On Client side i see error in write finish and this already is repeated continuously</div><div><br></div><div><img src="cid:ii_15b67435826fe9b2" alt="Inline image 1" width="337" height="562"><br></div><div><br></div><div>On the server side , server fails in read certificate verify. </div><div><br></div><div><img src="cid:ii_15b67448a418060c" alt="Inline image 2" width="323" height="562"><br></div><div><br></div><div>Can anyone help me to analyze the code and the reason for this issue ?</div><div><br></div><div>Thanks,</div><div>Mahesh G S</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 2:41 PM, mahesh gs <span dir="ltr"><<a href="mailto:mahesh116@gmail.com" target="_blank">mahesh116@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We are running SCTP connections with DTLS enabled in our application. We have adapted openssl version (openssl-1.1.0e) to achieve the same.</div><div><br></div><div>We have generated the self signed root and node certificates for testing. We have a strange problem with the incomplete DTLS handshake if we run the DTLS client and DTLS server is different systems.If we run the DTLS client and server in same system handshake is successful, handshake is not successful if run client and server in different VM's.</div><div><br></div><div>This strange problem happens only for SCTP/DTLS connection. With the same set of certificates TCP/TLS connection is successful and we are able to exchange the application data.</div><div><br></div><div>I am attaching the code bits for SSL_accept and SSL_connect and also the wireshark trace of unsuccessful handshake. Please assist me to debug this problem.</div><div><br></div><div>SSL_accept returns  SSL_ERROR_WANT_READ(2) infinite times but SSL_connect is called 4 or 5 times and select system call timeout.</div><div><br></div><div>Thanks,</div><div>Mahesh G S</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>