java.lang.ClassCastException: org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate

GitHub | dmogn | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Add Asimba IDP - add certificate exception

    GitHub | 6 months ago | dmogn
    java.lang.ClassCastException: org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.bouncycastle.cert.X509CertificateHolder cannot be cast to java.security.cert.X509Certificate

      at org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificateStatic()
    2. org.gluu.oxtrust
      SSLService.getPEMCertificate
      1. org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificateStatic(SSLService.java:116)
      2. org.gluu.oxtrust.ldap.service.SSLService.getPEMCertificate(SSLService.java:89)
      2 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame