@Override
        public String getSigAlgName() {
            return this.origCertificate.getSigAlgName();
        }
This method sorts the certificate chain from end to root certificate and wraps the end certificate to make it "never-expireing"
@param origChain The original (unsorted) certificate chain
@return The sorted and wrapped certificate chain
@throws CertificateException
clients/src/main/java/org/apache/kafka/common/security/ssl/CommonNameLoggingTrustManagerFactoryWrapper.java