Skip to content

ArangoDB.Builder should support specifying HostnameVerifier #341

Closed
@pvgoran

Description

@pvgoran

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions