Open
Conversation
d6953b9 to
d74e1a3
Compare
jorbaum
commented
Feb 25, 2026
| // NewEgressTLSConfig provides a convenient means for creating a *tls.Config | ||
| // which uses the CA, cert, and key for the egress endpoint. | ||
| func NewEgressTLSConfig(caPath, certPath, keyPath string) (*tls.Config, error) { | ||
| return newTLSConfig(caPath, certPath, keyPath, "reverselogproxy") |
Contributor
Author
There was a problem hiding this comment.
This needed to change to reverselogproxy from metron, as the server cert in generate-test-certs below actually used metron as common-name while client cert used reverselogproxy as common name.
Before this change the wrong common names were used in the certificates.
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.
Addresses #79 .
Replaces go-bindata with cloudfoundry/tlsconfig just like it is done in loggregator-agent-release. Also removes the
generate-test-certsscript as scripts are no longer needed.I also updated the dependencies as some were outdated after adding cloudfoundry/tlsconfig.