I'm trying to import a certificate to my Certificate Manager service on IBM-Cloud. I always get this response
{ "code": "CRTERR400-01", "message": "There is something wrong with the content of your certificate" }
The body of JSON looks like this -> { "name": "string", "data": { "content": "" } }
In content I put date from certificate .pem file which I already import to certificate manager via ibm-cloud Webpage. Any suggestions?
The content of certificate being imported should only contain the PEM format string (from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE-----, including) where all line breaks are replaced by
\n
.So, a sample body JSON would look like this: