Petr Mates [
https://community.jboss.org/people/mates1234] created the discussion
"Re: Remoting-connector with SSL"
To view the discussion, visit:
https://community.jboss.org/message/720094#720094
--------------------------------------------------------------
+standalone.xml+
<security-realm name="SSLRealm">
<server-identities>
<ssl>
<keystore path="localhost.keystore"
password="EJB-SSL_KEYPAIR_PASSWORD"
relative-to="jboss.server.config.dir"/>
</ssl>
</server-identities>
<authentication>
<jaas name="bean-sec-domain" />
</authentication>
</security-realm>
....
<connector name="remoting-connector" socket-binding="remoting"
security-realm="SSLRealm" />
...
+ejb: client+
Properties p = new Properties();
p.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
p.put("jboss.naming.client.ejb.context", true);
InitialContext c = new InitialContext(p);
TestBeanRemote vLookup = (TestBeanRemote)
c.lookup("ejb:TestEar/TestEjb/TestBean!"+ TestBeanRemote.class.getName());
+jboss-ejb-client.properties+
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=true
remote.connections=x1
remote.connection.x1.host=127.0.0.1
remote.connection.x1.port = 4447
remote.connection.x1.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.x1.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
remote.connection.x1.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS=JBOSS-LOCAL-USER
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/720094#720094]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]