-
Notifications
You must be signed in to change notification settings - Fork 55
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
add TLS testing #150
Merged
Merged
add TLS testing #150
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1148d68
add TLS support & tests
bb72f18
Merge branch 'main' into tls-testing
25bba11
add tempfile cleanup
c9609f0
pass tls data around instead of using a global
79b00e0
remove unused field, touch up key id
fdd3d76
ignore pem files
8d31291
get TLS test working for gRPC, add CLI flags
9a368ea
remove struct fields that don't need to be there
ce27cb8
reorder fields
8cefb51
fix spelling error in envvar name
bbf573a
refactor TLS config to a func to reduce duplication
6218120
fix help text
c76a5f0
remove unused fields, inappropriate RootCA, and add ServerName
fd98ba6
add CA to RootCAs in server TLS config
3ce2d52
switch from envvars for root pool to --no-tls-verify
06f977a
expire all certs after an hour
7c4c790
add a comment to tls_for_test.go with a security warning
c7ee1b0
clean up TLS setting names
18028a9
rationalize client cert testing templates
7c53a39
implement client cert auth tests for grpc & HTTP
ae46149
implement client cert authentication
6738562
fix up error messages
d014834
strip out unneeded TLS settings
95466a0
Merge branch 'main' into tls-testing
26bed91
go mod tidy
bf2365b
Merge branch 'main' into tls-testing
d8c8691
rename TLS options to have a --tls prefix, clean up help text
4453a51
fix --insecure help text
ecd80aa
Merge branch 'main' into tls-testing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ otel-cli | |
# vendor/ | ||
|
||
dist/ | ||
|
||
*.pem |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: it would be slightly clearer to say: