Discussion:
[jboss-user] [JBoss Remoting] - SSLContext selection
alan shields
2013-03-14 14:08:16 UTC
Permalink
alan shields [https://community.jboss.org/people/alanshields] created the discussion

"SSLContext selection"

To view the discussion, visit: https://community.jboss.org/message/802684#802684

--------------------------------------------------------------
Is it possible to specify the SSLContext that the Remoting system uses when using the EJBClient API? I want to be able to plug in alternative trust/key managers.
Thanks
Alan Shields
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802684#802684]

Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
alan shields
2013-03-18 09:20:49 UTC
Permalink
alan shields [https://community.jboss.org/people/alanshields] created the discussion

"Re: SSLContext selection"

To view the discussion, visit: https://community.jboss.org/message/803201#803201

--------------------------------------------------------------
Ok, for anybody else looking for this.

In the Properties object that you pass to PropertiesBasedEJBClientConfiguration set the following properties:

remote.connection.{connectionname}.connect.options.org.xnio.Options.SSL_JSSE_KEY_MANAGER_CLASSES
remote.connection.{connectionname}.connect.options.org.xnio.Options.SSL_JSSE_TRUST_MANAGER_CLASSES

to the Class names of your key and trust managers.

Cheers
Alan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/803201#803201]

Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
Loading...