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 GitHub by dmogn
, 1 year ago
org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate
via GitHub by dmogn
, 1 year ago
org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate
java.lang.ClassCastException: org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate	at org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificateStatic(SSLService.java:116)	at org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificate(SSLService.java:89)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)