If you encounter errors when validating the PEM format of a certificate, look up the error message here for more information.
Here is a list of possible scenarios where errors are generated.
Error | Issue |
---|---|
Invalid PEM format. Could be due to wrong BEGIN format. See log for more details. | The PrivateKey BEGIN certificate is invalid. |
Invalid PEM format. Exception message: -----END RSA PRIVATE KEY not found. See log for more details. | The PrivateKey END certificate is invalid. |
Invalid PEM format. Exception message: problem creating RSA private key: java.lang.IllegalArgumentException: failed to construct sequence from byte[]: corrupted stream - out of bounds length found. See log for more details. | Thee PrivateKey in the certificate is corrupted. |
Failed to parse certificates from PEM string. See log for more details. | The PublicKey BEGIN certificate is invalid. |
Malformed PEM data encountered. See log for more details. | The PublicKey END certificate is invalid. |
Malformed PEM data encountered. See log for more details. | The PublicKey in the certificate is corrupted. |
There are no target/end certificates to build the chaining. | There is no target/end certificate. |
Not able to build cert chain path, all target certs are invalid. May be missing an intermediate/root certificates. | There is no certificate chain to build. |
Ambiguous Error: Found more than one cert chain not sure which one to return | There is more than one certificate chain. |
Not able to build cert chain path, CertificateExpiredException: certificate expired on 20171206054737GMT+00:00. See log for more details. | The certificate has expired. |
Error message "Unexpected data detected in stream" while uploading the certificate in PEM format. | Missing empty line or additional attributes between leaf and intermediate in chain certificate. Adding an empty line between leaf and intermediate certificate would resolve the issue.
|