We have war and ejb3 project deployed within ear. Web layer access .Net web service over ssl. Keystore/trustore is defined in Ear/War/WB-INF/jboss-wsse-client.xml. It works nice.
I want to move the logic which calls web service into ejb (and call the ejb in web layer). I moved jboss-wsse-client.xml into Ear/Ejb/META-INF and also corresponding keystore and trustore file + I refactored code.
Unfortunately I get "No certificate found" error when I try to access web service. Even there is no reference to jboss-wsse-client.xml file in server.log after refactoring - like it is ignored totally.