-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[fixes 31700] Add mTLS support for http backend by way of client cert & key, as well as enterprise cacert. #31699
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
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a00a1ab
Add mTLS support for http backend by way of client cert & key, as wel…
8a7f4e9
Fix style.
eab391b
Skip cert validation to be sure error is related to missing client ce…
scr-oath cd46c94
Remove misplaced err check.
scr-oath 0223e3c
Fix the size of test using http backend.
scr-oath ab1dd2b
Just for correctness, include all certs in the pem encoded cert - som…
scr-oath 985bc53
Adjusted names as recommended in PR comments.
scr-oath 172f958
Adjusted names to be full-length and more descriptive.
scr-oath ce5d217
Added full-fledged testing with mTLS http server
scr-oath 33031da
Fix goimports.
scr-oath c61a9ed
Fix the names of the backend config.
scr-oath fb7e570
Exclusive lock for write and delete.
scr-oath cfd928a
Revert "Fix goimports."
scr-oath bbc0478
goimports just for server test.
scr-oath 6208901
Added the go:generation for the mock.
scr-oath 6328481
Move the TLS configuration out to make it more readable - don't repla…
scr-oath 2ab36d6
Just switch the client/data params - felt more natural this way.
scr-oath 6f05da8
Update internal/backend/remote-state/http/backend.go
scr-oath 441edac
Update internal/backend/remote-state/http/testdata/gencerts.sh
scr-oath 91baacc
Update internal/backend/remote-state/http/backend.go
scr-oath 666d7fc
Update internal/backend/remote-state/http/backend.go
scr-oath 6d6bf19
Update internal/backend/remote-state/http/backend.go
scr-oath f8a3b8b
Update internal/backend/remote-state/http/backend.go
scr-oath 481ad34
the location of the file name is not sensitive.
scr-oath 13bbe7c
Added error if only one of client_certificate_pem and client_private_…
scr-oath d4218d1
Remove testify from test cases; use t.Error* for assert and t.Fatal* …
scr-oath 0f7b3c7
Fixed import consistency
scr-oath 96dc440
Just use default openssl.
scr-oath ba0844a
Since file(...) is so trivial to use, changed the client cert, key, a…
scr-oath 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 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.