Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWhiskError: Unknown Error From API: self signed cer tificate #1

Open
jwende opened this issue Feb 3, 2018 · 1 comment
Open

Comments

@jwende
Copy link

jwende commented Feb 3, 2018

server starting on http://localhost:6003
failed to list actions { OpenWhiskError: Unknown Error From API: self signed cer
tificate
at Client.handle_errors (D:\openwhisk-nodejs-webui\node_modules\openwhisk\li
b\client.js:141:11)
at rp.catch.err (D:\openwhisk-nodejs-webui\node_modules\openwhisk\lib\client
.js:102:38)
at process._tickCallback (internal/process/next_tick.js:109:7)
name: 'OpenWhiskError',
message: 'Unknown Error From API: self signed certificate',
error: undefined,
statusCode: undefined }

@AdjWang
Copy link

AdjWang commented Oct 20, 2022

Setting the ignore_certs to true may work. Details see https://npm.io/package/openwhisk#:~:text=ignore_certs

// OpenWhisk Javascript SDK settings
var openwhisk = require('openwhisk');
var options = {
  apihost: process.env.OpenWhisk_HOST,
  api_key: process.env.OpenWhisk_AuthKey,
  ignore_certs: true,  // -i, --insecure             bypass certificate checking
};
var ow = openwhisk(options);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants