我在使用Hermes(corvus)/ Tomcat设置SSL身份验证时遇到问题,当在其中一个corvus配置文件中初始化服务器的“ssl-key-manager”时,我收到以下错误
'没有这样的算法:JKS for provider BC'
我到处寻找解决方案!以下是我已经尝试过的一些事情,非常感谢任何帮助。
我的设置看起来像这样
<component id="ssl-key-manager" name="SSL Key Manager">
<class>hk.hku.cecid.piazza.commons.security.KeyStoreKeyManager</class>
<parameter name="keystore-location" value="/usr/lib/jvm/jre/lib/security/cacert" />
<parameter name="keystore-password" value="password" />
<parameter name="key-alias" value="{58e98c0f-d08b-48ca-925a-316e6fef24d9}" />
<parameter name="key-password" value="password" />
<parameter name="keystore-type" value="JKS"/>
<parameter name="keystore-provider" value="org.bouncycastle.jce.provider.BouncyCastleProvider" />
</component>
我在Ubuntu 14.04上使用Java版本
运行java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
这是'cacert'文件的'keytool -list'
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 3 entries
onrampserver_cert, 14-Oct-2015, trustedCertEntry,
Certificate fingerprint (MD5): 2D:92:7C:26:29:BB:F5:2E:07:AC:58:C2:31:6F:B1:BB
{58e98c0f-d08b-48ca-925a-316e6fef24d9}, 14-Oct-2015, PrivateKeyEntry,
Certificate fingerprint (MD5): 62:C4:C8:CC:38:57:FB:8D:EC:21:AF:46:9E:C7:6E:3F
northsideg2ca, 14-Oct-2015, trustedCertEntry,
Certificate fingerprint (MD5): F2:65:1D:C7:0D:54:55:54:F1:16:6F:DD:45:47:5B:60