Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Unable to configure BOX CLI with OAuth 2.0 Error: self signed certificate in certificate chain

New post

Comments

2 comments

  • Matthew Crabtree

    Any resolution to this? I got this same error this morning when trying to authenticate.

    0
    Comment actions Permalink
  • Joe Sorenson

    In my environment, a company SSL certificate must be installed on each workstation, in the Trusted Root Store, to access the internet. As a result, I received this error. To fix this problem

    1. Convert company SSL certificate to base64, name cannot contain spaces
    2. Set environment variable: NODE_EXTRA_CA_CERTS=c:\temp\nameofcert.pem
    3. Don't use quotes in the value of the variable, I placed the cert in the temp directory as it was easy and there are not any spaces.
    0
    Comment actions Permalink

Post is closed for comments.