Box CLI Error Self Signed Certificate
Hello,
I am using the Windows Box CLI client and when I attempt to run a box command like "box users", I receive the error: self signed certificate in certificate chain. We use a TLS proxy at work, so this error makes sense to me. I see someone else posted about this which was kind of helpful but I was unable to resolve the issue.
It appears that I need to set either of these two environment variables in Node but I'm not sure how. When I launch "C:\Program Files\@boxcli\client\bin\node.exe" I don't see any relevant options in .help.
NODE_TLS_REJECT_UNAUTHORIZED=0
NODE_EXTRA_CA_CERTS=/path/to/your/cert.pem
I tried adding NODE_TLS_REJECT_UNAUTHORIZED as a system environment variable in Windows but that didn't resolve the issue. This is my first time attempting to use Box CLI and my first time explicitly using node.js.
Any help is appreciated.
投稿コメントは受け付けていません。
コメント
0件のコメント