Update CertificateManager.java

Resolve exceptions org.jivesoftware.util.CertificateManager - Error decoding subjectAltName
java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1Sequence