java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String

Jive Software Open Source | Gaston Dombiak | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    2008.12.02 11:45:00 [org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:227)] CertificateManager: Error decoding subjectAltName 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)

    Jive Software Open Source | 8 years ago | Gaston Dombiak
    java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  2. 0
  3. 0

    2008.12.02 11:45:00 [org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:227)] CertificateManager: Error decoding subjectAltName 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)

    Jive Software Open Source | 8 years ago | Gaston Dombiak
    java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: [Candy Support 1299] Getting These Errors When Trying to Log in to The Candy Example

    Google Groups | 3 years ago | Michael Weibel
    java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1Sequence

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames()
    2. org.jivesoftware.util
      CertificateManager.isRSACertificate
      1. org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:214)
      2. org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:173)
      3. org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:299)
      4. org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:251)
      4 frames
    3. org.jivesoftware.openfire
      HttpBindManager$CertificateListener.certificateCreated
      1. org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManager.java:140)
      2. org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBindManager.java:291)
      3. org.jivesoftware.openfire.http.HttpBindManager.restartServer(HttpBindManager.java:452)
      4. org.jivesoftware.openfire.http.HttpBindManager.access$600(HttpBindManager.java:39)
      5. org.jivesoftware.openfire.http.HttpBindManager$CertificateListener.certificateCreated(HttpBindManager.java:519)
      5 frames
    4. org.jivesoftware.util
      CertificateManager.installCert
      1. org.jivesoftware.util.CertificateManager.installCert(CertificateManager.java:543)
      1 frame
    5. org.jivesoftware.openfire
      import_002dcertificate_jsp._jspService
      1. org.jivesoftware.openfire.admin.import_002dcertificate_jsp._jspService(import_002dcertificate_jsp.java:113)
      1 frame