Hello. I using MINA 1.1.2.

first of all, sorry about novice question and thanks guys.

I'm novice in ssl programming but I want two ports in one server.
so I opened normal socket and ssl socket. like this.

--
SocketAcceptorConfig cfg_gui = new SocketAcceptorConfig();
acceptor.bind( new InetSocketAddress( port_gui ), new
GUISessionHandler(), cfg_gui );

SocketAcceptorConfig cfg_ssl = new SocketAcceptorConfig();
cfg_ssl.getFilterChain().addLast( "ssl", new SSLFilter(
SSLContextFactory.getInstance( IS_SERVER ) ) );
acceptor.bind( new InetSocketAddress( port_ssl ), new
SupremaSessionHandler(), cfg_ssl );
--

and ssl connected device communication process is,

server <- device : connect
server -> device : (non-ssl) send certification file
server <- device : (non-ssl) ok ack
server <-> device : (ssl) communication

can I do that using MINA's SSLFilter?
and do you know about other sslfilter example? (I have MINA ssl echo
server example)

Thank you.

Reply via email to