Class SSLHostNameVerifier

    • Constructor Detail

      • SSLHostNameVerifier

        public SSLHostNameVerifier()
    • Method Detail

      • verify

        public boolean verify​(String hostname,
                              SSLSession session)
        matches the hostname of the Load balancer to CN attribute of the certificate obtained.
        Specified by:
        verify in interface HostnameVerifier
        Parameters:
        hostname - hostname of the load balancer
        session - SSL session information
        Returns:
        true - if the LB host name and CN attribute in the certificate matches, false otherwise