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, an intermediate/root certificate might be missing.

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.