java.security.InvalidKeyException

Supplied key (sun.security.provider.DSAPrivateKey) is not a RSAPrivateKey instance


Solutions on the web709

Solution icon of web
via nabble.com by Unknown author, 1 year ago
Supplied key (sun.security.provider.DSAPrivateKey) is not a RSAPrivateKey instance

Solution icon of sourceforge
Supplied key (org.bouncycastle.jce.provider.JCEECPrivateKey) is not a RSAPrivateKey instance

Solution icon of apache
via ws-fx-dev by Cristian Opincaru, 1 year ago
Supplied key ( sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance

Solution icon of stackoverflow
Supplied key (null) is not a RSAPrivateKey instance

Solution icon of web
via nabble.com by Unknown author, 1 year ago
Supplied key (sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance

Solution icon of web
via igniterealtime.org by Unknown author, 1 year ago
Supplied key (null) is not a RSAPrivateKey instance

Solution icon of oraclecommunity
via Oracle Community by jvr Guest, 1 year ago
Supplied key (sun.security.mscapi.RSAPrivateKey) is not a RSAPrivateKey instance

Solution icon of web
via marc.info by Unknown author, 1 year ago
Supplied key ( sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance

Solution icon of stackoverflow
via Stack Overflow by Russ
, 1 year ago
Supplied key (sun.security.provider.DSAPrivat eKey) is not a RSAPrivateKey instance

Solution icon of stackoverflow
Supplied key (null) is not a RSAPrivateKey instance

Stack trace

  • java.security.InvalidKeyException: Supplied key (sun.security.provider.DSAPrivateKey) is not a RSAPrivateKey instance at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source) at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:718)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.