Symptom
Uploading a key pair to Cloud Integration Keystore manually or via public API of Cloud Integration tenant via https://<tenant-id>.<XXXXXX>.<XXXXX>.<XXXXX>.hana.ondemand.com/api/v1/KeyPairResources fails due to error:
Certificate chain is invalid: CertificateCN=<XXXXXXXX>,O=<XXXXXXXX>,C=XX not within validity period
or
<?xml version='1.0' encoding='UTF-8'?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>Bad Request</code>
<message xml:lang="en">Certificate chain is invalid: CertificateCN=<XXXXXXXX>,O=<XXXXXXXX>,C=XX not within validity period</message>
</error>
However, after checking the key pair to be uploaded and the referred (intermediate) certificate in the error , it is confirmed the validity is not expired.
Read more...
Environment
SAP Cloud Integration
Product
Keywords
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.