Commit Graph

137 Commits (09f2dd4d59ca708a0c48094a4717cec09bb4acc4)

Author SHA1 Message Date
Mark Anderson 018edc222e
Avoid using sys/mounts to enable namespaces (#12655)
3 years ago
Connor 922619dfc3
Fix leaked Vault LifetimeRenewers (#12607)
3 years ago
Daniel Nephin 1f00ede559 ca: require that tests that use Vault are named correctly
3 years ago
Daniel Nephin 6b679aa9d4 Update TODOs to reference an issue with more details
3 years ago
Daniel Nephin 5e8ea2a039 ca: add a test for secondary with external CA
3 years ago
Daniel Nephin 42ec34d101 ca: examine the full chain in newCARoot
3 years ago
Daniel Nephin 71f3ae04e2 ca: small docs improvements
3 years ago
Daniel Nephin 86994812ed ca: cleanup validateSetIntermediate
3 years ago
Daniel Nephin c1c1580bf8 ca: only return the leaf cert from Sign in vault provider
3 years ago
FFMMM 78264a8030
Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311)
3 years ago
Daniel Nephin 51b0f82d0e Make test more readable
3 years ago
Daniel Nephin 608597c7b6 ca: relax and move private key type/bit validation for vault
3 years ago
Daniel Nephin 7839b2d7e0 ca: add a test that uses an intermediate CA as the primary CA
3 years ago
Daniel Nephin 9b7468f99e ca/provider: remove ActiveRoot from Provider
3 years ago
Daniel Nephin c2b9c81a55 ca: update MockProvider for new interface
3 years ago
Daniel Nephin f05bad4a1d ca: update GenerateRoot godoc
3 years ago
R.B. Boyer b60d89e7ef bulk rewrite using this script
3 years ago
Daniel Nephin 4116a143e0 fix misleading errors on vault shutdown
3 years ago
Daniel Nephin 214dcf8d0d ca: use the real FSM operation in tests
3 years ago
Daniel Nephin d795a73f78 testing: use the new freeport interfaces
3 years ago
Daniel Nephin b92084b8e8 ca: reduce consul provider backend interface a bit
3 years ago
Iryna Shustava 0ee456649f
connect: Support auth methods for the vault connect CA provider (#11573)
3 years ago
Daniel Nephin b4080bc0dc ca: use the cluster ID passed to the primary
3 years ago
Daniel Nephin b9ab9bae12 ca: accept only the cluster ID to SpiffeIDSigningForCluster
3 years ago
Connor efe4b21287
Support Vault Namespaces explicitly in CA config (#11477)
3 years ago
FFMMM 61bd417a82
plumb thru root cert tll to the aws ca provider (#11449)
3 years ago
FFMMM 6004a21f35
fix aws pca certs (#11470)
3 years ago
FFMMM 4ddf973a31
add root_cert_ttl option for consul connect, vault ca providers (#11428)
3 years ago
Daniel Nephin b2f49279e2 ca: split Primary/Secondary Provider
3 years ago
Dhia Ayachi 58bd817336
check expiry date of the root/intermediate before using it to sign a leaf (#10500)
3 years ago
R.B. Boyer 6c47efd532
connect/ca: ensure edits to the key type/bits for the connect builtin CA will regenerate the roots (#10330)
3 years ago
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 0ccad1d6f7
Merge pull request #10479 from hashicorp/dnephin/ca-provider-explore-2
3 years ago
Daniel Nephin bf292cbae4 ca: use provider constructors to be more consistent
3 years ago
Dhia Ayachi 5ed56fc786 check error when `raftApplyMsgpack`
3 years ago
Daniel Nephin 6228c4a53c ca: fix mockCAServerDelegate to work with the new interface
3 years ago
Daniel Nephin fc14f5ab14 ca: move provider creation into CAManager
3 years ago
Daniel Nephin 3a045cca8d ca: remove unused RotationPeriod field
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
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
Kyle Havlovitz 0bfda4481f Add CA server delegate interface for testing
4 years ago
Kyle Havlovitz 6fba82a4fa connect: Add CAManager for synchronizing CA operations
4 years ago
Daniel Nephin 3dfb7c224b stream: Use a no-op event publisher if streaming is disabled
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