-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
connect/ca: cease including the common name field in generated certs #10424
Merged
Commits on Jun 24, 2021
-
connect/ca: cease including the common name field in generated certs
As part of this change, we ensure that the SAN extensions are marked as critical when the subject is empty so that AWS PCA tolerates the loss of common names well and continues to function as a Connect CA provider. Parts of this currently hack around a bug in crypto/x509 and can be removed after https://go-review.googlesource.com/c/go/+/329129 lands in a Go release. Note: the AWS PCA tests do not run automatically, but the following passed locally for me: ENABLE_AWS_PCA_TESTS=1 go test ./agent/connect/ca -run TestAWS
Configuration menu - View commit details
-
Copy full SHA for 4436254 - Browse repository at this point
Copy the full SHA 4436254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 314203d - Browse repository at this point
Copy the full SHA 314203dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b00369e - Browse repository at this point
Copy the full SHA b00369eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a2e2c0 - Browse repository at this point
Copy the full SHA 0a2e2c0View commit details -
Update agent/connect/x509_patch.go
Co-authored-by: Kent 'picat' Gruber <kent@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for f7a5080 - Browse repository at this point
Copy the full SHA f7a5080View commit details -
Update agent/connect/x509_patch.go
Co-authored-by: Kent 'picat' Gruber <kent@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 170764d - Browse repository at this point
Copy the full SHA 170764dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20e0dd3 - Browse repository at this point
Copy the full SHA 20e0dd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38d644 - Browse repository at this point
Copy the full SHA f38d644View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cc66b7 - Browse repository at this point
Copy the full SHA 4cc66b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6afa677 - Browse repository at this point
Copy the full SHA 6afa677View commit details -
Configuration menu - View commit details
-
Copy full SHA for 206e1c6 - Browse repository at this point
Copy the full SHA 206e1c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64afccf - Browse repository at this point
Copy the full SHA 64afccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d2882 - Browse repository at this point
Copy the full SHA 70d2882View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41a20a9 - Browse repository at this point
Copy the full SHA 41a20a9View commit details
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.