rest-assured/src/main/java/io/restassured/authentication/CertificateAuthSettings.java
public CertificateAuthSettings strictHostnames() {
        return new CertificateAuthSettings(keystoreType, trustStoreType, port, trustStore, keyStore, STRICT_HOSTNAME_VERIFIER, sslSocketFactory);
    }
public CertificateAuthSettings strictHostnames() {
        return new CertificateAuthSettings(keystoreType, trustStoreType, port, trustStore, keyStore, STRICT_HOSTNAME_VERIFIER, sslSocketFactory);
    }
public CertificateAuthSettings strictHostnames ( ) { return new CertificateAuthSettings ( keystoreType , trustStoreType , port , trustStore , keyStore , STRICT_HOSTNAME_VERIFIER , sslSocketFactory ) ; }
Configure the CertificateAuthSettings to use strict host name verification (this is the default behavior).

@return A new CertificateAuthSettings instance
@see org.apache.http.conn.ssl.SSLSocketFactory#STRICT_HOSTNAME_VERIFIER
Configure the CertificateAuthSettings to use strict host name verification ( this is the default behavior ) .