Apache CXF Web Service Client in Weblogic 10.3.6 throught proxy does not work
===

I am fighting with a strange problem, because I have a Web Service Client developed with Apache CXF 2.5, deployed into Weblogic 10.3.6.

This Web Service stablish a 2 SSL way communication with the server-side Web Service (out of our control), so we have a trusted certificate and a list of identity certificates stored in database.

We need to choose one of the certificates to make the petition to the Web Service server, so we have to load dinamically the certificates in the keystore and then call to the server-side Web Service. I have a code like this:

    HTTPConduit httpConduit = (HTTPConduit) client.getConduit();
    TLSClientParameters tlsParams = httpConduit.getTlsClientParameters();

    KeyStore keyStore = KeyStore.getInstance("JKS");
    keyStore.load(null, password.toCharArray());

    keyStore.setKeyEntry(alias, privateKey, password.toCharArray(), certChain);
    KeyManagerFactory keyFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
    keyFactory.init(keyStore, password.toCharArray());
    
    KeyManager[] km = keyFactory.getKeyManagers();
    tlsParams.setKeyManagers(km);
    
    httpConduit.setTlsClientParameters(tlsParams);

And after this code, which configure the connection, we made the call to the Web Service.

OK, until here everything it's ok. We made the development in a Tomcat server and the Web Service worked properly with a direct communication and throught a proxy, but when we deploy the same application into Weblogic 10.3.6 the Web Service only works if the communication is direct.

However when we make the communication throught a proxy, the server ignores completely the keystore we have loaded so it just look for the certificates in the Weblogic keystores and there aren't any there so we cannot complete the handshake.

It's very strange because with the same server configuration the Web servic only works with direct communication but not throught a proxy (always with 2 way SSL).

Please help !!!

Thanks a lot.