users@glassfish.java.net

[gf-users] Re: How to disable SSLv3 client protocol in GlassFish v4

From: <forums_at_java.net>
Date: Fri, 7 Nov 2014 17:30:12 -0600 (CST)

If you wanted to turn off SSL v3 in the above code, you could obtain the
SSLContext with the TLS protocol this way : SSLContext ctx =
SSLContext.getContext("TLS"); It could be any other protocol instead of TLS
as well. If you want Glassfish listeners not to use SSL v3 , you could use
the following commands : asadmin set
server-config.network-config.protocols.protocol.http-listener-2.ssl.ssl3-enabled=false
asadmin set
server-config.network-config.protocols.protocol.sec-admin-listener.ssl.ssl3-enabled=false

--
[Message sent by forum member 'nitkal']
View Post: http://forums.java.net/node/930922