messaging.config.beans.InvalidCertFile Invalid cert file : xxx-cert. Invalid Cert chain

Hi API lovers!

Need your help with this error (Apigee private 4.16:):

curl -k -u admin https://<managementURL>/v1/o/xxx/e/dev/keystores/apigee-dev-2017/keys?alias=apigee-dev-2017 -X POST -H "Content-Type: multipart/form-data" -F file="@apigee-dev.xxxx.jar" { "code" : "messaging.config.beans.InvalidCertFile", "message" : "Invalid cert file : apigee-dev-2017-cert. Invalid Cert chain", "contexts" : [ ] }

Did same command on version 4.17 in some testing instance and it works. My chain is correct, taken directly from a vendor 🙂

0 1 469
1 REPLY 1

Togherher with Support we found in 4.16.01 we have to remove all empty lines, subjects and issuers from the chain