public static interface DatabaseClientFactory.SSLHostnameVerifier
An SSLHostnameVerifier checks whether a hostname
is acceptable during SSL authentication. By default, COMMON is used, allowing any level of
subdomains for SSL certificates with wildcard domains. If only one
level of subdomains is allowed for SSL certificates with wildcard
domains, use STRICT.
The ANY SSLHostnameVerifier allows any hostname,
which can be useful during initial development when a valid SSL
certificate is not available but is not recommended for production
because it would permit an invalid SSL certificate.
The COMMON SSLHostnameVerifier applies common
rules for checking hostnames during SSL authentication (similar to
org.apache.http.conn.ssl.BrowserCompatHostnameVerifier).
The STRICT SSLHostnameVerifier applies strict
rules for checking hostnames during SSL authentication (similar to
org.apache.http.conn.ssl.StrictHostnameVerifier).
The ANY SSLHostnameVerifier allows any hostname,
which can be useful during initial development when a valid SSL
certificate is not available but is not recommended for production
because it would permit an invalid SSL certificate.
The COMMON SSLHostnameVerifier applies common
rules for checking hostnames during SSL authentication (similar to
org.apache.http.conn.ssl.BrowserCompatHostnameVerifier). It allows
any level of subdomains for SSL certificates with wildcard
domains.
The STRICT SSLHostnameVerifier applies strict
rules for checking hostnames during SSL authentication (similar to
org.apache.http.conn.ssl.StrictHostnameVerifier). It allows one
level of subdomain for SSL certificates with wildcard domains like
RFC 2818.