users@glassfish.java.net

Re: custom X509TrustManager

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 07 Jul 2008 12:01:21 -0400

Salut,

I've filled:

https://grizzly.dev.java.net/issues/show_bug.cgi?id=189

so next time we integrate Grizzly in GlassFish v3, the features will be
exposed. For GlassFish v2, the solution below should works.

Thanks

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> None that i know of, but i will check and getback to you.
>
> The option that can be explored is writing a LifeCycle Module for GlassFish that installs the TrustManager
>
> https://glassfish.dev.java.net/javaee5/docs/DG/beamc.html
>
> Within the Lifecycle module you could try installing your trustmanager using code of the form :
>
> SSLContext context = SSLContext.getInstance("TLS");
> context.init(your-keyManagers, your-trustManagers, sr);
>
> I have not tried this approach though. If you try and it works let me know.
>
> Thanks.
> [Message sent by forum member 'kumarjayanti' (kumarjayanti)]
>
> http://forums.java.net/jive/thread.jspa?messageID=284685
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>