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
For now, it's possible to customize a TLS connection by specifying SSLContext. While it is already very useful, it is incomplete without the ability to specify HostnameVerifier. (Basically, I want to be able to connect to a TLS endpoint with a certificate that doesn't have to have a matching Common Name or Alternative Names.)
I propose adding the method hostnameVerifier() to ArangoDB.Builder, which would propagate a HostnameVerifier to com.arangodb.internal.http.HttpConnection, which in turn would pass it to the created SSLConnectionSocketFactory instance.
It should be quite easy to implement, I'll try to submit a PR when I have some time.
The text was updated successfully, but these errors were encountered:
For now, it's possible to customize a TLS connection by specifying
SSLContext
. While it is already very useful, it is incomplete without the ability to specifyHostnameVerifier
. (Basically, I want to be able to connect to a TLS endpoint with a certificate that doesn't have to have a matching Common Name or Alternative Names.)I propose adding the method
hostnameVerifier()
toArangoDB.Builder
, which would propagate aHostnameVerifier
tocom.arangodb.internal.http.HttpConnection
, which in turn would pass it to the createdSSLConnectionSocketFactory
instance.It should be quite easy to implement, I'll try to submit a PR when I have some time.
The text was updated successfully, but these errors were encountered: