我正在使用node.js request.js到達api。我收到這個錯誤[錯誤:UNABLE_TO_VERIFY_LEAF_SIGNATURE]我所有的憑據都是準確有效的,并且服務器還不錯。我對郵遞員提出了相同的要求。request({ "url": domain+"/api/orders/originator/"+id, "method": "GET", "headers":{ "X-API-VERSION": 1, "X-API-KEY": key },}, function(err, response, body){ console.log(err); console.log(response); console.log(body);});此代碼僅在可執行腳本ex中運行。node ./run_file.js,那是為什么?是否需要在服務器上運行?
無法驗證葉子簽名
Helenr
2019-11-26 10:46:42