Skip to main content
Question

Missing private key and passphrase when creating JSON file

  • May 22, 2025
  • 2 replies
  • 31 views

Forum|alt.badge.img

I created a public/private key in my app and had it authorized by the enterprise admin. But, when I download the file and add it to my application, the privateKey and passphrase are empty.

Is there a step I'm missing in creating the app? It's a OAuth2.0 Server Authentication with JWT, with read/write Content Actions, generating a new access token, app access only.

Thanks in advance,

Todd

2 replies

Forum|alt.badge.img

Hey Todd, 

Are you using the button that says "generate a public/private keypair" or "download as JSON"? 

Best,

Kourtney, Box Developer Advocate


Forum|alt.badge.img

I've encountered the same problem too. I hit the "Generate a Public/Private keypair" button in my app, then downloaded the .json file, but the publick key, private key and passphrase fields are all empty in the .json file downloaded. In addition, I've also tried the openssl commands to manually generate the key pair, but when I hit the "Add a public key" button, nothing happened either. 

Any assistance would be much appreciated!

Xiaoyue