"Error reading certificates" when creating JWT token with Box createtoken() function

Certified Senior Developer

Hi all,

I'm trying to create a token for my Box integration using Box plug-in createtoken() function:

privateKey and publicKey points to PEM docs containing publicKey and privateKey from box developer console / JSON config file downloaded from Box Dev Console


sub: enterprise ID


kid: publicKey ID from JSON config file


iss:client ID from JSON config file

I assume setup of my PEM files might be wrong, here are my steps:
1. Generate Public/Private key pair in developer console
2. Copied both keys to separate .txt files
3. converted them into pem files
4. uploaded to appian

are these correct?

I'd appreciate any advice,
Thanks

  Discussion posts and replies are publicly visible