Repository navigation
feat: add --ca-cert to trust a custom CA - #119
Merged
Merged
Conversation
yarolegovich
force-pushed
the
yarolegovich/ca-cert
branch
from
November 3, 2026 19:21
4fa2bfb to
4a62931
Compare
Agents behind a private or self-signed CA could not be reached over TLS, because the card request and every transport trusted only the system store. --ca-cert names a PEM file whose certificates a2a trusts for the card request and the REST, JSON-RPC and gRPC transports. The file is read when a command connects, so a bad path does not break config show. A .env discovered in the working tree cannot set it, the same as --unix-socket. TestGRPCTransportSecurity trusts its test server through --ca-cert, so it no longer re-runs the test binary with x509.SetFallbackRoots.
yarolegovich
force-pushed
the
yarolegovich/ca-cert
branch
from
November 3, 2026 19:26
4a62931 to
79f9545
Compare
yarolegovich
marked this pull request as ready for review
November 3, 2026 19:26
nahapetyan-serob
approved these changes
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--ca-cert <file>flag so that agents behind a private or self-signed CA can be reached over TLS. The card request and the REST, JSON-RPC and gRPC transports trust only the PEM certificates in the file, and--insecurekeeps gRPC plaintext.config showkeeps working.--ca-certis not read from a.envdiscovered by walking up from the working directory, like--unix-socketandcredential-helper, so a cloned repository can't choose the certificates a2a trusts.TestGRPCTransportSecuritytrusts its test server through--ca-cert, so it no longer re-runs the test binary withx509.SetFallbackRoots.Closes #99.