Hello Alexey,
Thank you! It is exactly what I"m looking for!
Do you have an example how to build an SSL Layer properly?
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.