[jboss-jira] [JBoss JIRA] (WFLY-5274) EJB IOR contains wrong port (non-SSL port) information when SSL is required
Tomasz Adamski (JIRA)
issues at jboss.org
Tue Nov 10 11:39:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Adamski closed WFLY-5274.
--------------------------------
Resolution: Out of Date
This issue cannot be fixed in upstream WildFly. The reason is that after orb implementation switch server_requires security settings is no longer supported (it is deprecated and will be removed in WF11) and setting it has no effect. I have already prepared the fix but it has to merged directly to the eap.
> EJB IOR contains wrong port (non-SSL port) information when SSL is required
> ---------------------------------------------------------------------------
>
> Key: WFLY-5274
> URL: https://issues.jboss.org/browse/WFLY-5274
> Project: WildFly
> Issue Type: Bug
> Components: IIOP
> Reporter: Derek Horton
> Assignee: Tomasz Adamski
>
> Description of problem:
> - Configure JBoss to only allow IIOP connections over SSL
> - It is possible to do this, but the configuration is confusing (possibly a bug)
> Details of the setup/issue:
> - When enabling SSL for jacorb, it normally listens on both the non-ssl port and the ssl port
> - Setting server-requires="ServerAuth" causes the server to stop listening on non-ssl port
> - However, the IOR tells client to connect to non-ssl port ...even though its not listening on it
> String lookup = "corbaname:iiop:" + host + ":" + port +"#" + ejbLookupPath;
> // lookup the IIOP EJB
> Object iiopObj = ctx.lookup(lookup);
> // the call to the EJB will fail due to the port being wrong non-ssl vs ssl
> - The workaround is to use the following ior-setting to correct the port settings in the IOR
> /subsystem=jacorb/ior-settings=default/setting=transport-config:add(confidentiality=required)
> - Shouldn't setting "server-requires=ServerAuth" change the port info in the IOR?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list