how to perform two way SSL in weblogic 8.1
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sampathkumar_palanivel
Posted On:   Friday, November 2, 2007 04:36 AM

I am using weblogic 8.1SP4. i need to perform two way SSL. I tried this logic as per the document provided by the bea. I mapped the server keystore file and choose Certs Requested And Enforced option using console. Servers --> myserver --> Keystore & SSL tab but i could not communicate from java client code as well as from the IE browser to the web service. I added the certificate in the browser. Error is: Exception in thread "main" java.security.KeyManagementException: Could not find certificate chain and/or private key code fragment for client FileInputStream clientCrede   More>>

I am using weblogic 8.1SP4.

i need to perform two way SSL.


I tried this logic as per the document provided by the bea.


I mapped the server keystore file and choose Certs Requested And Enforced option using console.



Servers --> myserver --> Keystore & SSL tab





but i could not communicate from java client code as well as from the IE browser to the web service. I added the certificate in the browser.


Error is:


Exception in thread "main" java.security.KeyManagementException: Could not find


certificate chain and/or private key



code fragment for client



FileInputStream clientCredentialFile = new FileInputStream ("e:/ssl/client.keystore"); // file contains trusted certificate


String pwd = "changeit";


adapter.loadLocalIdentity(clientCredentialFile, pwd.toCharArray());


Should i do anythig else?


Please provide a solution for this.

   <<Less
About | Sitemap | Contact