java.security.InvalidKeyException: not a DSA private key: Sun RSA private CRT ke y, 1024 bits modulus: 967212999089764237589802410055861244329969944634203672079776 18600532250990943480152711851107099917200626042460163647725910465095787255943754 80305027800781395301401010921504523717026080955040982472302846494928529087007634 47561587059402918635246826259293857996424309192714468108741637517896723003105368 96289377 public exponent: 65537 private exponent: 702183915707034082431072659231393291483828066523502395805173 73627030898117065166885665763825391869638350648858082094010270442937462225163616 12179881864187929212581103327362050309550611821115094764548965211307823965550917 34574838585089971391166847743250068368638256013867275546336976985549794272990539 84511745 prime p: 103122337800004522192671596907211153384905752525945064315112 89558239240642831622805326891020723942854131175382017165608748617747903267786245 698818501493009 prime q: 937927727128895464868777743815062208241769634865821614013296 53495500418169812111970915782767519216296514523041946071103935784561169134519402 56685691651153 prime exponent p: 695014062380975593214566494559030264585087368825395347788048 97964116035093744416026258262719589934825667030322367243685006400342537396908383 4348250928401 prime exponent q: 358071802688023018005352993732591611611899785836136179297384 36767893258199317927911138942655955121408346329043280752842218492297792876477035 14385400691393 crt coefficient: 822098773588331599176108376562104851650708625529807528628084 48623655491192442177389392989177856399268990813649490364072754601112799947667646 76161424588247

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by Caddick, 1 year ago
not a DSA private key: Sun RSA private CRT ke y, 1024 bits modulus: 967212999089764237589802410055861244329969944634203672079776 18600532250990943480152711851107099917200626042460163647725910465095787255943754
via Oracle Community by NataS, 1 year ago
via Oracle Community by IDMuser19, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via xml-security-dev by t. winkler, 1 year ago
not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47c1db
java.security.InvalidKeyException: not a DSA private key: Sun RSA private CRT ke y, 1024 bits modulus: 967212999089764237589802410055861244329969944634203672079776 18600532250990943480152711851107099917200626042460163647725910465095787255943754 80305027800781395301401010921504523717026080955040982472302846494928529087007634 47561587059402918635246826259293857996424309192714468108741637517896723003105368 96289377 public exponent: 65537 private exponent: 702183915707034082431072659231393291483828066523502395805173 73627030898117065166885665763825391869638350648858082094010270442937462225163616 12179881864187929212581103327362050309550611821115094764548965211307823965550917 34574838585089971391166847743250068368638256013867275546336976985549794272990539 84511745 prime p: 103122337800004522192671596907211153384905752525945064315112 89558239240642831622805326891020723942854131175382017165608748617747903267786245 698818501493009 prime q: 937927727128895464868777743815062208241769634865821614013296 53495500418169812111970915782767519216296514523041946071103935784561169134519402 56685691651153 prime exponent p: 695014062380975593214566494559030264585087368825395347788048 97964116035093744416026258262719589934825667030322367243685006400342537396908383 4348250928401 prime exponent q: 358071802688023018005352993732591611611899785836136179297384 36767893258199317927911138942655955121408346329043280752842218492297792876477035 14385400691393 crt coefficient: 822098773588331599176108376562104851650708625529807528628084 48623655491192442177389392989177856399268990813649490364072754601112799947667646 76161424588247
at sun.security.provider.DSA.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.engineInitSign(Unknown Source)
at java.security.Signature.initSign(Unknown Source)
at java.security.SignedObject.sign(Unknown Source)
at java.security.SignedObject.(Unknown Source)
at com.thortech.xl.crypto.tcDefaultSignatureImpl.sign(Unknown Source)
at com.thortech.xl.crypto.tcCryptoUtil.sign(Unknown Source)
at com.pldt.adapter.exchange.EnableMailBox.EnableMailBoxForUser(EnableMailBox.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.thortech.xl.remotemanager.RemoteManager.invokeInstanceMethod(Unknown Source)
at com.thortech.xl.remotemanager.RemoteManager.invokeMethod(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.