You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Sungwon Jung <th...@gmail.com> on 2007/09/06 09:21:24 UTC
ssl and non-ssl
Hello. I'm using MINA 1.1.2.
I'm novice about ssl programming.
so I have question.
how can I find ssl programming examples by Java.
(except Echo server Low-level I/O and SSL Server in Mina site)
Thank you.
Re: ssl and non-ssl
Posted by Francesca Milan <fr...@newvision.it>.
Sungwon Jung ha scritto:
> Thanks Francesca Milan!
>
> It's good.
> Do you know server example?
>
>
> On 9/6/07, Francesca Milan <fr...@newvision.it> wrote:
>
>> Sungwon Jung ha scritto:
>>
>>> Hello. I'm using MINA 1.1.2.
>>>
>>> I'm novice about ssl programming.
>>> so I have question.
>>>
>>> how can I find ssl programming examples by Java.
>>> (except Echo server Low-level I/O and SSL Server in Mina site)
>>>
>>> Thank you.
>>>
>>>
>> Hi!
>>
>> Here there's an example ;-)
>> http://www.koders.com/java/fidA4E971B1AEAACFA0D619DC34AEE9F69773681D98.aspx?s=mina+ssl
>> ...but in thise site you can find more!
>>
>> I'sorry for my terrible english :-/
>>
The ssl server source code is a little bit different...
SSLContext sslContext = BogusSSLContextFactory.getInstance(false);
...
sslFilter.setUseClientMode(true);
become:
SSLContext sslContext = BogusSSLContextFactory.getInstance(true);
sslFilter.setUseClientMode(false);
See this source code
http://www.koders.com/java/fid67883C579BCE9361C018E01F1751DD780CE72038.aspx?s=BogusSSLContextFactory
and the mina SSLFilter javadoc. ;-)
Re: ssl and non-ssl
Posted by Sungwon Jung <th...@gmail.com>.
Thanks Francesca Milan!
It's good.
Do you know server example?
On 9/6/07, Francesca Milan <fr...@newvision.it> wrote:
> Sungwon Jung ha scritto:
> > Hello. I'm using MINA 1.1.2.
> >
> > I'm novice about ssl programming.
> > so I have question.
> >
> > how can I find ssl programming examples by Java.
> > (except Echo server Low-level I/O and SSL Server in Mina site)
> >
> > Thank you.
> >
> Hi!
>
> Here there's an example ;-)
> http://www.koders.com/java/fidA4E971B1AEAACFA0D619DC34AEE9F69773681D98.aspx?s=mina+ssl
> ...but in thise site you can find more!
>
> I'sorry for my terrible english :-/
Re: ssl and non-ssl
Posted by Francesca Milan <fr...@newvision.it>.
Sungwon Jung ha scritto:
> Hello. I'm using MINA 1.1.2.
>
> I'm novice about ssl programming.
> so I have question.
>
> how can I find ssl programming examples by Java.
> (except Echo server Low-level I/O and SSL Server in Mina site)
>
> Thank you.
>
Hi!
Here there's an example ;-)
http://www.koders.com/java/fidA4E971B1AEAACFA0D619DC34AEE9F69773681D98.aspx?s=mina+ssl
...but in thise site you can find more!
I'sorry for my terrible english :-/