Skip to content

Conversation

@fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Nov 26, 2025

This adds support for automatically recovering from SSL handshake errors when certificates expired. When an SSL error occurs, the plugin will now attempt to execute a configured external command to refresh certificates. If successful, the SSL context is reloaded and the failed request is transparently retried. This improves reliability in environments with short-lived or frequently rotating certificates.

Netflix requested this, they don't have a reliable mechanism to detect and refresh the certificates before any major disruption in Coder Toolbox.

This adds support for automatically recovering from SSL handshake errors when certificates expired.
When an SSL error occurs, the plugin will now attempt to execute a configured external command
to refresh certificates. If successful, the SSL context is reloaded and the failed request is
transparently retried. This improves reliability in environments with short-lived or frequently
rotating certificates.

Netflix requested this, they don't have a reliable mechanism to detect and refresh the certificates
before any major disruption in Coder Toolbox.
@fioan89 fioan89 marked this pull request as draft November 26, 2025 22:07
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! Do you know if we have plans to do this for the VS Code extension as well?

@fioan89 fioan89 marked this pull request as ready for review December 1, 2025 23:03
@fioan89
Copy link
Collaborator Author

fioan89 commented Dec 1, 2025

Neat! Do you know if we have plans to do this for the VS Code extension as well?

Yes.. it should be and I talked with @jcjiang to implement this on VS Code but I'm not sure when it will be. Netflix was apparently keen to have this in Toolbox.

@fioan89 fioan89 merged commit 912237d into main Dec 1, 2025
6 checks passed
@fioan89 fioan89 deleted the support-for-mtls-cert-refresh branch December 1, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants