Skip to main content
Question

Box CLI -- error:0909006C:PEM routines:get_name:no start line

  • May 22, 2025
  • 2 replies
  • 10 views

Forum|alt.badge.img

Setting up now first time, have config.json with generated key via box console, and 2FA via authy etc.

Any API call results in same error

error:0909006C:PEM routines:get_name:no start line

Viewing configure:environments:get I think maybe am missing inline key? I assumed all this would be handled in the config file I added auth credentials to

Has Inline Private Key: true
Private Key Path: null
Name: default
Default As-User ID: null
Use Default As-User: false
Cache Tokens: true

Version @box/cli/2.9.0 darwin-x64 node-v14.16.0

2 replies

Forum|alt.badge.img

It sounds like something wonky is happening with your config file? Can I see a screenshot of it? Please blur/edit out the passphrase/key/secret information. That's not something you want to post on a forum. 

Thanks, 

Alex, Box Developer Advocate


Forum|alt.badge.img

I am also getting same error when trying to authenticate with box-node-sdk.
Any suggestion ???