java.lang.ClassCastException

org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String

Solutions on the web19033

  • org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  • org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  • org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  • Stack trace

    • java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:214) at org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:173) at org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:299) at org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:251) at org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManager.java:140) at org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBindManager.java:291) at org.jivesoftware.openfire.http.HttpBindManager.restartServer(HttpBindManager.java:452) at org.jivesoftware.openfire.http.HttpBindManager.access$600(HttpBindManager.java:39) at org.jivesoftware.openfire.http.HttpBindManager$CertificateListener.certificateCreated(HttpBindManager.java:519) at org.jivesoftware.util.CertificateManager.installCert(CertificateManager.java:543) at org.jivesoftware.openfire.admin.import_002dcertificate_jsp._jspService(import_002dcertificate_jsp.java:113)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.