Error: Algid Parse Error, Not a Sequence
Issue
While setting up the connector using the Certificate authentication mode, the following error appears:
Algid parse error, not a sequence.
Environment
- Connector: Anaplan
- Authentication mode: Certificate
Resolution
To resolve this issue, do the following:
- Extract your private key by running the following OpenSSL command in your terminal window:
openssl pkcs8 -topk8 -inform pem -in private_key.pem -outform pem -nocrypt -out private_pkcs8.pem
- In the setup form, upload the private key in the Private Key file field.
Cause
This issue occurs when you provide a private key in the setup form that is encrypted in the Public-Key Cryptography Standards (PKCS) #1 format instead of the required PKCS #8 format.