public CertificatePinner createCertificatePinner(final String host, final Object target) {
        val newCerts = fetchCaCerts(target);
        return Util.createPinner(host, newCerts);
    }
Create certificate pinner.

@param host   the host
@param target the target
@return the certificate pinner
support/cas-server-support-duo-core-mfa/src/main/java/org/apereo/cas/adaptors/duo/authn/DuoSecurityClient.java