users@grizzly.java.net

Re: Writting an Grizzly SSL layer

From: Alaska <bagirin_at_gmx.de>
Date: Thu, 6 Aug 2009 05:16:12 -0700 (PDT)

I"d like to have HTTPS.

regards,
alaska



Oleksiy Stashok wrote:
>
> Hi Alaska,
>
>> Thank you! It is exactly what I"m looking for!
>>
>> Do you have an example how to build an SSL Layer properly?
> It depends what are you looking for :)
> Do you plan to use HTTPS or some custom protocol, built on top of
> ProtocolParser or something else?
>
> WBR,
> Alexey.
>
>>
>> regards,
>> alaska
>>
>>
>>
>> Oleksiy Stashok wrote:
>>>
>>> Hi alaska,
>>>
>>>
>>>> I"d like to build an SSL layer using the certificate stored already
>>>> in the
>>>> browser (cert.p12).
>>> this is done, right?
>>>
>>>> And than I"d like to get a SubjectDN from the certificate.
>>>> How could I implement it?
>>> In the filter next to SSLReadFilter you can ask for SSLEngine:
>>> SSLEngine engine = ((WorkerThread)
>>> Thread.currentThread()).getSSLEngine();
>>>
>>> then get SSLSession:
>>>
>>> SSLSession session = engine.getSession();
>>>
>>> then from the session you can retrieve the SSL properties you may
>>> want.
>>>
>>> WBR,
>>> Alexey.
>>>
>>>>
>>>> Thank you very much,
>>>> alaska:)
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Writting-an-Grizzly-SSL-layer-tp24828035p24828035.html
>>>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Writting-an-Grizzly-SSL-layer-tp24828035p24841162.html
>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Writting-an-Grizzly-SSL-layer-tp24828035p24845417.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.