Commit Graph

6 Commits

Author SHA1 Message Date
James Rasell
21fd0bbb8a ci: Regenerate TLS certificates used for testing. (#25804) 2025-05-02 13:51:02 +01:00
Lance Haig
7e93f150b5 cli: tls certs not created with correct SANs (#16959)
The `nomad tls cert` command did not create certificates with the correct SANs for
them to work with non default domain and region names. This changset updates the
code to support non default domains and regions in the certificates.
2023-05-22 09:31:56 -04:00
James Rasell
530c0f8448 tlsutil: update testing certificates close to expiry. 2021-08-13 11:09:40 +02:00
Michael Schurter
c55d166712 client: set host name when migrating over tls
Not setting the host name led the Go HTTP client to expect a certificate
with a DNS-resolvable name. Since Nomad uses `${role}.${region}.nomad`
names ephemeral dir migrations were broken when TLS was enabled.

Added an e2e test to ensure this doesn't break again as it's very
difficult to test and the TLS configuration is very easy to get wrong.
2018-09-05 17:24:17 -07:00
Michael Schurter
4a3243aaf5 Add docs for generating example certificates 2016-11-15 17:22:54 -08:00
Michael Schurter
c9397c75a8 Fix tlsutil tests 2016-11-10 12:18:13 -08:00