We have tried entering the private key in multiple formats (escaped/unescaped, with “-----BEGIN ENCRYPTED PRIVATE KEY-----” and end, without, etc) but we keep getting this error. The credentials were provided by the Box team in JSON format:
I ran into a similar issue with the SuccessFactors connector and thought this might help. When working with certificates, especially for connectors, it’s crucial to extract the certificate directly from the source—like Box—and insert it exactly as is. Be cautious with private keys; editing them manually in your own text or PEM files can introduce hidden characters that corrupt the key.
I recommend opening the certificate in a lightweight text editor like Notepad, Notepad++, or VS Code, and avoid making any changes to the content. This approach resolved my issue, so it might be worth trying here too.
Thanks for the reply. The screenshot is from the JSON file that the Box team generated when sharing the key. We’ve tried copying it exactly as is from the file, but still no luck.