Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

provideTrustManagerByDefault should be false in OpenJDK #834

Copy link
Copy link

Description

@voidzcy
Issue body actions

According to #656 and grpc/grpc-java#6684 (comment), Conscrypt uses Platform's default HostNameVerifier if not explicitly set, which in OpenJDK it is a deny-all implementation. This is problematic as mentioned in #656 (comment) and letting users implement a custom HostNameVerifier is also infeasible (discussed in grpc/grpc-java#6684 (comment)). While there is an option to work around this, which is not to use Conscrypt's TrustManagerImpl. Conscrypt provides API ProviderBuilder#provideTrustManager(boolean provide) to do so. However, its default value of true in OpenJDK is awkward, given that it's default HostNameVerifier is unable to be used. Should it be changed to false?

/cc @ejona86

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.