Commit Graph

50 Commits (06f3ccebce26f16c4beb4524ed77a8cbd11140f3)

Author SHA1 Message Date
R.B. Boyer 7bf9ea55cf
connect/ca: require new vault mount points when updating the key type/bits for the vault connect CA provider (#10331)
3 years ago
Daniel Nephin fc14f5ab14 ca: move provider creation into CAManager
3 years ago
Dhia Ayachi 9b45107c1e
Format certificates properly (rfc7468) with a trailing new line (#10411)
3 years ago
R.B. Boyer a2876453a5
connect/ca: cease including the common name field in generated certs (#10424)
3 years ago
Daniel Nephin f52d76f096 ca: replace ca.PrimaryIntermediateProviders
3 years ago
R.B. Boyer a0d26430cc
connect: if the token given to the vault provider returns no data avoid a panic (#9806)
4 years ago
Matt Keeler d9d4c492ab
Ensure that CA initialization does not block leader election.
4 years ago
Kyle Havlovitz 6fba82a4fa connect: Add CAManager for synchronizing CA operations
4 years ago
Kyle Havlovitz f700a5707b connect: Use the lookup-self endpoint for Vault token
4 years ago
Kyle Havlovitz 01ce9f5b18 Update CI for leader renew CA test using Vault
4 years ago
Kyle Havlovitz e13f4af06b connect: Check for expired root cert when cross-signing
4 years ago
Kyle Havlovitz 2ec94b027e connect: Enable renewing the intermediate cert in the primary DC
4 years ago
Kyle Havlovitz b1b21139ca Merge branch 'master' into vault-ca-renew-token
4 years ago
Kyle Havlovitz 1cd7c43544 Update vault CA for latest api client
4 years ago
Kyle Havlovitz 7ffef62ed7 Clean up CA shutdown logic and error
4 years ago
Kyle Havlovitz 49056fe70f Clean up Vault renew tests and shutdown
4 years ago
Kyle Havlovitz f40fb577fe Use mapstructure for decoding vault data
4 years ago
Kyle Havlovitz aa97366020 Add a stop function to make sure the renewer is shut down on leader change
4 years ago
Kyle Havlovitz 2f7210bde2 Move IntermediateCertTTL to common CA config
4 years ago
Kyle Havlovitz 411b6537ef Add a test for token renewal
4 years ago
Kyle Havlovitz 97f1f341d6 Automatically renew the token used by the Vault CA provider
4 years ago
Hans Hasselberg 5281cb74db
Setup intermediate_pki_path on secondary when using vault (#8001)
5 years ago
Paul Banks cd1b613352
connect: Add AWS PCA provider (#6795)
5 years ago
Paul Banks d7329097b2
Change CA Configure struct to pass Datacenter through (#6775)
5 years ago
Paul Banks b621910618
Support Connect CAs that can't cross sign (#6726)
5 years ago
Paul Banks 45d57ca601
connect: Allow CA Providers to store small amount of state (#6751)
5 years ago
Todd Radel 54f92e2924 Make all Connect Cert Common Names valid FQDNs (#6423)
5 years ago
R.B. Boyer 796de297c8
connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491)
5 years ago
Alvin Huang c516fabfac
revert commits on master (#6413)
5 years ago
tradel 9b1ac4e7ef add subject names to issued certs
5 years ago
Paul Banks e87cef2bb8 Revert "connect: support AWS PCA as a CA provider" (#6251)
5 years ago
Todd Radel 3497b7c00d
connect: support AWS PCA as a CA provider (#6189)
5 years ago
Todd Radel 2552f4a11a
connect: Support RSA keys in addition to ECDSA (#6055)
5 years ago
Hans Hasselberg 067027230b
connect: add tls config for vault connect ca provider (#5125)
6 years ago
Kyle Havlovitz 57deb28ade connect/ca: tighten up the intermediate signing verification
6 years ago
Kyle Havlovitz 2919519665 connect/ca: add intermediate functions to Vault ca provider
6 years ago
Kyle Havlovitz 52e8652ac5 connect/ca: add intermediate functions to Consul CA provider
6 years ago
Kyle Havlovitz d515d25856
Merge pull request #4644 from hashicorp/ca-refactor
6 years ago
Paul Banks 74f2a80a42
Fix CA pruning when CA config uses string durations. (#4669)
6 years ago
Kyle Havlovitz c112a72880
connect/ca: some cleanup and reorganizing of the new methods
6 years ago
Kyle Havlovitz 546bdf8663
connect/ca: add Configure/GenerateRoot to provider interface
6 years ago
Kyle Havlovitz f67a4d59c0
connect/ca: simplify passing of leaf cert TTL
6 years ago
Kyle Havlovitz ce10de036e
connect/ca: check LeafCertTTL when rotating expired roots
6 years ago
Kyle Havlovitz d6ca015a42
connect/ca: add configurable leaf cert TTL
6 years ago
Kyle Havlovitz 8c2c9705d9 connect/ca: use weak type decoding in the Vault config parsing
7 years ago
Kyle Havlovitz 050da22473 connect/ca: undo the interface changes and use sign-self-issued in Vault
7 years ago
Kyle Havlovitz 8a70ea64a6 connect/ca: update Vault provider to add cross-signing methods
7 years ago
Kyle Havlovitz 6a2fc00997 connect/ca: add URI SAN support to the Vault provider
7 years ago
Kyle Havlovitz 226a59215d connect/ca: fix vault provider URI SANs and test
7 years ago
Kyle Havlovitz 1a8ac686b2 connect/ca: add the Vault CA provider
7 years ago