I'm having issues troubleshooting 404 issues with the cert/ca endpoint.
Vault returns "Failed to fetch CA list from EJBCA" and a 404 request to "https://my-domain.com/ejbca/ejbca-rest-api/v1/ca//certificate/download".
Reading the code makes it look like the caName match here never hits.
More logging with results from the ListCas endpoint would make this issue easier to debug.
I also makes more sense to me to error out if the for loop completes without a caName match instead of requesting a certificate for empty string.
Running vault version 1.16.3 and plugin version 1.4.0.
I'm having issues troubleshooting 404 issues with the
cert/caendpoint.Vault returns "Failed to fetch CA list from EJBCA" and a 404 request to "https://my-domain.com/ejbca/ejbca-rest-api/v1/ca//certificate/download".
Reading the code makes it look like the caName match here never hits.
More logging with results from the ListCas endpoint would make this issue easier to debug.
I also makes more sense to me to error out if the for loop completes without a caName match instead of requesting a certificate for empty string.
Running vault version 1.16.3 and plugin version 1.4.0.