49fd772fcc
* Add per-issuer AIA URI information Per discussion on GitHub with @maxb, this allows issuers to have their own copy of AIA URIs. Because each issuer has its own URLs (for CA and CRL access), its necessary to mint their issued certs pointing to the correct issuer and not to the global default issuer. For anyone using multiple issuers within a mount, this change allows the issuer to point back to itself via leaf's AIA info. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add changelog Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add documentation on per-issuer AIA info Also add it to the considerations page as something to watch out for. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add tests for per-issuer AIA information Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Refactor AIA setting on the issuer This introduces a common helper per Steve's suggestion. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Clarify error messages w.r.t. AIA naming Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Clarify error messages regarding AIA URLs This clarifies which request parameter the invalid URL is contained in, disambiguating the sometimes ambiguous usage of AIA, per suggestion by Max. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Rename getURLs -> getGlobalAIAURLs Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Correct AIA acronym expansion word orders Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix bad comment suggesting re-generating roots Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add two entries to URL tests Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> |
||
---|---|---|
.. | ||
cmd/pki | ||
backend.go | ||
backend_test.go | ||
ca_test.go | ||
ca_util.go | ||
cert_util.go | ||
cert_util_test.go | ||
chain_test.go | ||
chain_util.go | ||
config_util.go | ||
crl_test.go | ||
crl_util.go | ||
fields.go | ||
integation_test.go | ||
key_util.go | ||
managed_key_util.go | ||
path_config_ca.go | ||
path_config_crl.go | ||
path_config_urls.go | ||
path_fetch.go | ||
path_fetch_issuers.go | ||
path_fetch_keys.go | ||
path_intermediate.go | ||
path_issue_sign.go | ||
path_manage_issuers.go | ||
path_manage_keys.go | ||
path_manage_keys_test.go | ||
path_revoke.go | ||
path_roles.go | ||
path_roles_test.go | ||
path_root.go | ||
path_sign_issuers.go | ||
path_tidy.go | ||
secret_certs.go | ||
storage.go | ||
storage_migrations.go | ||
storage_migrations_test.go | ||
storage_test.go | ||
test_helpers.go | ||
util.go |