We're updating the issue view to help you get more done. 

Fix ClassCastException that prevents certificates from being imported

Description

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)

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure