我有一些麻烦安装我的SSL证书到Weblogic 10,这里是我的configuration步骤:
执行以下操作:
[]#keytool -import -keystore myKeystore -trustcacerts -alias myKeystore -file myCert.cert -storepass myStorePass -noprompt证书已添加到密钥库
执行以下操作:
[]#java utils.ImportPrivateKey myKeystore myStorePass myKeystore myStorePass myCert.cert myCert.key导入私钥myCert.key和证书myCert.cert到密钥库myKeystore的typesjks别名myKeystore
运行Weblogic
[]#./startWebLogic.sh -Dweblogic.security.SSL.trustedCAKeyStore -Dweblogic.security.SSL.nojce = true
这给了我输出:
<Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias myKeystore from the JKS keystore file /Oracle/Middleware/user_projects/domains/testDomain/myKeystore .> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /root/Oracle/Middleware/jrockit_160_05_R27.6.2-20/jre/lib/security/cacerts.> <Could not load a jks keystore from the file /Oracle/Middleware/jrockit_160_05_R27.6.2-20/jre/lib/security/cacerts. Exception: java.io.IOException: Keystore was tampered with, or password was incorrect>
现在密码是正确的,但这是行不通的,为什么?
在weblogic控制台中,您是否在Keystores选项卡上提供密钥库密码(“myStorePass”),并在SSL选项卡上提供了私钥的密码?