Skip to content

Allow custom verification callback to be configured for servers #1595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2023

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented May 9, 2023

Motivation:

NIOSSL allows users to override its certificate verification logic by setting a verification callback. gRPC allows clients to configure this but not servers.

Modifications:

  • Add extra API to GRPCTLSConfiguration to allow custom verification callbacks to be set for servers.

Result:

Users can override the certificate verification logic on the server.

Motivation:

NIOSSL allows users to override its certificate verification logic by
setting a verification callback. gRPC allows clients to configure this
but not servers.

Modifications:

- Add extra API to `GRPCTLSConfiguration` to allow custom verification
  callbacks to be set for servers.

Result:

Users can override the certificate verification logic on the server.
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label May 9, 2023
@glbrntt glbrntt requested a review from Lukasa May 9, 2023 09:36
@Lukasa Lukasa merged commit 2d5795d into grpc:main May 9, 2023
@glbrntt glbrntt deleted the gb-custom-verification-callback branch May 9, 2023 12:39
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
…#1595)

Motivation:

NIOSSL allows users to override its certificate verification logic by
setting a verification callback. gRPC allows clients to configure this
but not servers.

Modifications:

- Add extra API to `GRPCTLSConfiguration` to allow custom verification
  callbacks to be set for servers.

Result:

Users can override the certificate verification logic on the server.
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
…#1595)

Motivation:

NIOSSL allows users to override its certificate verification logic by
setting a verification callback. gRPC allows clients to configure this
but not servers.

Modifications:

- Add extra API to `GRPCTLSConfiguration` to allow custom verification
  callbacks to be set for servers.

Result:

Users can override the certificate verification logic on the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants