首先,WAS用IBM JSSE,不支持Sun JSSE,有文档说明。 http://www-01.ibm.com/support/docview.wss?uid=swg21418924
然后,你要检查 1) WAS\java\jre\lib\security\java.security, 看看secrity provider list里是否有Sun JSSE
# List of providers and their preference orders (see above): # #security.provider.1=com.ibm.crypto.fips.provider.IBMJCEFIPS security.provider.1=com.ibm.crypto.provider.IBMJCE security.provider.2=com.ibm.jsse.IBMJSSEProvider security.provider.3=com.ibm.jsse2.IBMJSSEProvider2 security.provider.4=com.ibm.security.jgss.IBMJGSSProvider security.provider.5=com.ibm.security.cert.IBMCertPath security.provider.6=com.ibm.crypto.pkcs11impl.provider.IBMPKCS11Impl security.provider.7=com.ibm.security.cmskeystore.CMSProvider security.provider.8=com.ibm.security.jgss.mech.spnego.IBMSPNEGO security.provider.9=com.ibm.security.sasl.IBMSASL security.provider.10=com.ibm.xml.crypto.IBMXMLCryptoProvider security.provider.11=com.ibm.xml.enc.IBMXMLEncProvider security.provider.12=org.apache.harmony.security.provider.PolicyProvider
2) 类路径里是否有Sun JSSE 的jar包
3)你的代码里是否有调用Sun JSSE provider |
|