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

Solutions on the web

via sourceforge.net by Unknown author, 2 years ago
java.lang.ClassCastException: org.bouncycastle.jce.provider.JCERSAPublicKey cannot be cast to java.security.interfaces.ECPublicKey
via ejbca by dani111
, 1 year ago
java.lang.ClassCastException: org.bouncycastle.jce.provider.JCERSAPublicKey cannot be cast to java.security.interfaces.ECPublicKey
via ejbca by pked
, 2 years ago
java.security.InvalidKeyException: Private key must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding
via ejbca by merryo11
, 2 years ago
End Entity data contains a CA, -487214483, which the Certificate Profile, 2, isn't authorized to use.
java.lang.ClassCastException: org.bouncycastle.jce.provider.JCERSAPublicKey cannot be cast to java.security.interfaces.ECPublicKey  	at org.ejbca.cvc.KeyFactory.createInstance(KeyFactory.java:54)	at org.ejbca.cvc.CertificateGenerator.createCertificate(CertificateGenerator.java:124)	at org.ejbca.core.model.ca.caadmin.CVCCA.generateCertificate(CVCCA.java:458)	at org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:1464)