vault/command/server
Alexander Scheel 7267d6ee56
Clean up dev cert construction (#17657)
Vault's new TLS devvault mode has two nits with certificate
construction:

 1. The CA doesn't need to include any SANs, as these aren't checked.
    Technically this means the CA could be reused as a leaf certificate
    for the one specified IP SAN, which is less desirable.
 2. Add hostname to SANs in addition to CNs. This is a best practice, as
    (when the CN is a hostname), it is preferable to have everything in
    SANs as well.

Neither of these are major changes.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-10-26 15:29:37 -04:00
..
test-fixtures Query and Precompute Non-Contiguous Segments in the Activity Log (#15352) 2022-05-17 12:17:32 -07:00
config.go command/server: add dev-tls flag (#16421) 2022-07-22 14:04:03 -04:00
config_custom_response_headers_test.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
config_oss_test.go Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
config_telemetry_test.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
config_test.go Parse ha_storage in config (#15900) 2022-06-09 15:55:49 -07:00
config_test_helpers.go Parse ha_storage in config (#15900) 2022-06-09 15:55:49 -07:00
config_test_helpers_util.go Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
config_util.go Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
listener.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
listener_tcp.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
listener_tcp_test.go Add support for PROXY protocol v2 in TCP listener (#13540) 2022-03-08 12:13:00 -05:00
listener_test.go Add support for PROXY protocol v2 in TCP listener (#13540) 2022-03-08 12:13:00 -05:00
server_seal_transit_acc_test.go OSS portion of wrapper-v2 (#16811) 2022-08-23 15:37:16 -04:00
tls_util.go Clean up dev cert construction (#17657) 2022-10-26 15:29:37 -04:00