java.security.InvalidKeyException: not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47 c1db

xml-security-dev | t. winkler | 1 decade ago
  1. 0

    XML Signature with Apache AXIS Problem-content.x509.XMLX509Certificate - Keystore

    xml-security-dev | 1 decade ago | t. winkler
    java.security.InvalidKeyException: not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47 c1db
  2. 0

    Bug 40826 – Private keys must be instance of RSAPrivate or have PKCS#8 encoding

    apache.org | 4 months ago
    java.security.InvalidKeyException: Private key must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding
  3. 0

    'Signature with PKCS11 (smartcards)' - MARC

    marc.info | 4 months ago
    java.security.InvalidKeyException: Supplied key ( sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Axis2-user - axis2 1.6.0 rampart exception in keystore

    nabble.com | 4 months ago
    java.security.InvalidKeyException: Supplied key (sun.security.provider.DSAPrivateKey) is not a RSAPrivateKey instance
  6. 0

    Signature with PKCS11 (smartcards)

    ws-fx-dev | 1 decade ago | Cristian Opincaru
    java.security.InvalidKeyException: Supplied key ( sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.InvalidKeyException

      not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47 c1db

      at org.apache.xml.security.algorithms.implementations.SignatureDSA.engineInitSign()
    2. Apache XML Security for Java
      XMLSignature.sign
      1. org.apache.xml.security.algorithms.implementations.SignatureDSA.engineInitSign(SignatureDSA.java:280)
      2. org.apache.xml.security.algorithms.SignatureAlgorithm.initSign(SignatureAlgorithm.java:296)
      3. org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:524)
      3 frames
    3. wsumsatz
      SignatureHandler_Clientside.invoke
      1. wsumsatz.SignedSOAPEnvelope.init(SignedSOAPEnvelope.java:108)
      2. wsumsatz.SignedSOAPEnvelope.<init>(SignedSOAPEnvelope.java:62)
      3. wsumsatz.SignatureHandler_Clientside.invoke(SignatureHandler_Clientside.java:46)
      3 frames
    4. Axis Web Services
      Call.invoke
      1. org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
      2. org.apache.axis.client.Call.invokeEngine(Call.java:2113)
      3. org.apache.axis.client.Call.invoke(Call.java:2102)
      4. org.apache.axis.client.Call.invoke(Call.java:1851)
      5. org.apache.axis.client.Call.invoke(Call.java:1777)
      6. org.apache.axis.client.Call.invoke(Call.java:1315)
      6 frames
    5. wsumsatz
      Client.main
      1. wsumsatz.Client.main(Client.java:46)
      1 frame