You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Vik C <ch...@hotmail.com> on 2015/10/15 22:28:37 UTC

SNI and MINA

Hi,

We are using MINA version 2.0.9 in my organization to perform NIO as a Client. It has been working really great so far. However, we noticed that SSL connect fails with "Connection Reset by peer" if the server on other side (to which we are trying to connect ) has multiple certs for the same port. This requires that we set "server_name" value while doing a TLS connection. Looking at the code around looks like we may need to rewrite SSLHandler . Please advise .

-Vik
 		 	   		  

Re: SNI and MINA

Posted by George Sexton <ge...@mhsoftware.com>.
What version of Java are you using? My understanding is that SNI support 
isn't available below JDK 1.8

On 10/15/2015 2:28 PM, Vik C wrote:
> Hi,
>
> We are using MINA version 2.0.9 in my organization to perform NIO as a Client. It has been working really great so far. However, we noticed that SSL connect fails with "Connection Reset by peer" if the server on other side (to which we are trying to connect ) has multiple certs for the same port. This requires that we set "server_name" value while doing a TLS connection. Looking at the code around looks like we may need to rewrite SSLHandler . Please advise .
>
> -Vik
>   		 	   		

-- 
George Sexton
*MH Software, Inc.*
Voice: 303 438 9585
http://www.mhsoftware.com