open-consul/agent/cache-types
R.B. Boyer c3d5a2a5ab
connect/ca: cease including the common name field in generated certs (#10424)
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
2021-06-25 13:00:00 -05:00
..
catalog_datacenters.go
catalog_datacenters_test.go
catalog_list_services.go
catalog_list_services_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
catalog_service_list.go
catalog_service_list_test.go
catalog_services.go
catalog_services_test.go
config_entry.go
config_entry_test.go
connect_ca_leaf.go connect/ca: cease including the common name field in generated certs (#10424) 2021-06-25 13:00:00 -05:00
connect_ca_leaf_oss.go
connect_ca_leaf_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
connect_ca_root.go
connect_ca_root_test.go
discovery_chain.go
discovery_chain_test.go
federation_state_list_gateways.go
federation_state_list_gateways_test.go
gateway_services.go
gateway_services_test.go
health_services.go
health_services_test.go
intention_match.go
intention_match_test.go
intention_upstreams.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
intention_upstreams_test.go Add cache-type for Internal.IntentionUpstreams 2021-03-16 11:06:47 -06:00
mock_RPC.go
node_services.go
node_services_test.go
norace_test.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
options.go
prepared_query.go
prepared_query_test.go
race_test.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
resolved_service_config.go
resolved_service_config_test.go Update server-side config resolution and client-side merging 2021-03-10 21:05:11 -07:00
rpc.go
service_checks.go
service_checks_test.go
service_dump.go
service_dump_test.go Fix test build 2020-08-06 11:31:56 -06:00
testing.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00