.java.security.NoSuchAlgorithmException:算法提供商Cryptix无法提供RSA / PKCS1算法

时间:2014-07-02 05:05:25

标签: java rsa

我正在使用jdk1.7_60apache tomcat

我部署了我的网络应用程序,我收到了以下错误

java.security.NoSuchAlgorithmException: algorithm RSA/PKCS1 is not available from provider Cryptix
        at xjava.security.IJCE.getClassCandidate(IJCE.java:463)
        at xjava.security.IJCE.getImplementationClass(IJCE.java:416)
        at xjava.security.IJCE.getImplementation(IJCE.java:373)
        at xjava.security.Cipher.getInstance(Cipher.java:492)
        at xjava.security.Cipher.getInstance(Cipher.java:455)
        at COM.claymoresystems.ptls.SSLClientKeyExchange.encode(SSLClientKeyExchange.java:77)
        at COM.claymoresystems.ptls.SSLHandshake.sendHandshakeMsg(SSLHandshake.java:149)
        at COM.claymoresystems.ptls.SSLHandshake.sendHandshakeMsg(SSLHandshake.java:144)
        at COM.claymoresystems.ptls.SSLHandshakeClient.sendClientKeyExchange(SSLHandshakeClient.java:400)
        at COM.claymoresystems.ptls.SSLHandshakeClient.processTokens(SSLHandshakeClient.java:148)
        at COM.claymoresystems.ptls.SSLHandshake.processHandshake(SSLHandshake.java:135)
        at org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:483)
        at org.globus.gsi.gssapi.net.GssSocket.authenticateClient(GssSocket.java:102)
        at org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:140)
        at org.globus.gsi.gssapi.net.GssSocket.getOutputStream(GssSocket.java:161)
        at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:433)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2745)
        at org.apache.axis.client.Call.invoke(Call.java:2728)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        at org.apache.axis.client.Call.invoke(Call.java:2327)
        at org.apache.axis.client.Call.invoke(Call.java:1767)
        at org.nimbustools.messaging.gt4_0.generated.WorkspaceFactoryPortTypeSOAPBindingStub.create(WorkspaceFactoryPortTypeSOAPBindingStub.java:1224)
        at org.globus.workspace.client_core.actions.Create.createImpl(Create.java:575)
        at org.globus.workspace.client_core.actions.Create.create(Create.java:497)

请帮我解决这个问题。

提前致谢。修复它非常重要的问题。

由于 kalasagar

1 个答案:

答案 0 :(得分:1)

如果你给它RSA/PKCS1,它就无法找到算法。你需要指定是否要使用模式。试试RSA/None/PKCS1Padding

相关问题