Skip to content

Add support for NIOCertificateReloading #104

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 5 commits into from
May 20, 2025
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented May 20, 2025

Motivation:

swift-nio-extras recently added support for certificate reloaders which can keep cert chain and private keys up-to-date in the background and provide current values when asked for them. We should expose an API allowing these to be configured.

Modifications:

  • Expose API on the TLS configs for posix-based transports to create the TLS config using a cert reloader

Result:

Users can create TLS configs using the new cert relader

Motivation:

swift-nio-extras recently added support for certificate reloaders which
can keep cert chain and private keys up-to-date in the background and
provide current values when asked for them. We should expose an API
allowing these to be configured.

Modifications:

- Expose API on the TLS configs for posix-based transports to create the
  TLS config using a cert reloader

Result:

Users can create TLS configs using the new cert relader
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label May 20, 2025
@glbrntt glbrntt requested a review from rnro May 20, 2025 09:45
Co-authored-by: Rick Newton-Rogers <rnro@apple.com>
@glbrntt glbrntt enabled auto-merge (squash) May 20, 2025 16:04
@glbrntt glbrntt merged commit d90cac0 into grpc:main May 20, 2025
26 of 29 checks passed
@glbrntt glbrntt deleted the cert-reloader branch May 20, 2025 16:15
dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request May 30, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade `gRPC Swift NIO Transport` to 1.2.2 from 1.1.0.

### Why are the changes needed?

This brings the following improvements and bug fixes. Previously, 1.2.0 and 1.2.1 causes a crash in GitHub Action CI.
- https://github.com/grpc/grpc-swift-nio-transport/releases/tag/1.2.2
    - grpc/grpc-swift-nio-transport#110
- https://github.com/grpc/grpc-swift-nio-transport/releases/tag/1.2.1
- https://github.com/grpc/grpc-swift-nio-transport/releases/tag/1.2.0
    - grpc/grpc-swift-nio-transport#101
    - grpc/grpc-swift-nio-transport#103
    - grpc/grpc-swift-nio-transport#104

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #185 from dongjoon-hyun/SPARK-52359.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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.

3 participants