I am trying to authenticate to Box using JWT authentication method. The private/public keys are generated according to the instruction in the Box documentation and the public key is uploaded.
The JWT that I am using is verified using http://jwt.io with the same public key as uploaded to Box. However, after sending to Box I get the following error:
OpenSSL unable to verify data: error:0906D06C:PEM routines:PEM_read_bio:no start line
I cannot find any information about this error. Does anybody know what does it mean?
The header and claim part of the JWT are probably correct; it seems that the parsing of header and claim happens before verifying signed data (I have been receiving and fixing header/claim data).
The public/private key pair is generated using OpenSSL on Linux.
Please sign in to leave a comment.