You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently no way to use the docker-java library to connect to docker over TCP/HTTPS without using the default hostname verifier.
ApacheDockerHttpClient.Builder.build() eventually calls new SSLConnectionSocketFactory() leading to a default HttpsSupport.getDefaultHostnameVerifier() which requires Subject Alternative Names match the host/IP being used to connect.
Although possibly what many or most people want, this precludes certain use cases.
Target: ApacheDockerHttpClient construction is flexible enough to support a custom hostname verifier.
Proposal:
Add additional builder methods to ApacheDockerHttpClient.Builder to accept a custom hostname verifier.