Open RamonJRV opened 5 years ago
Hi, I've just released an update to @serverless/platform-sdk
that should resolve this issue. Please update with npm i -g serverless
and confirm with sls --version
that the SDK version is 2.1.1
Facing the same problem on linux. SDK 2.2.1
still having this problem on SDK version 2.3.0
bla (~/code/bla/test-sls) $ serverless deploy (node:62118) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. Serverless: Packaging service... Serverless: Excluding development dependencies... Serverless: Recoverable error occurred (unable to get local issuer certificate), sleeping for ~4 seconds. Try 1 of 4 Serverless: Recoverable error occurred (unable to get local issuer certificate), sleeping for ~6 seconds. Try 2 of 4 Serverless: Recoverable error occurred (unable to get local issuer certificate), sleeping for ~6 seconds. Try 3 of 4 Serverless: Recoverable error occurred (unable to get local issuer certificate), sleeping for ~4 seconds. Try 4 of 4
Serverless Error ---------------------------------------
Could not locate deployment bucket. Error: unable to get local issuer certificate
Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Issues: forum.serverless.com
Your Environment Information --------------------------- Operating System: darwin Node Version: 12.16.1 Framework Version: 1.65.0 Plugin Version: 3.4.1 SDK Version: 2.3.0 Components Version: 2.22.3
Facing the same issue on Windows 10, SDK 4.3.0
This is a Bug Report
Description
I am able to use a
.pem
file to doserverless login
using thecafile
environment variable.However, during the
serverless deploy
phase I get an error while packaging:I have an outstanding stackoverflow question regarding the same question.
I would expect
deploy
to use the same certificate aslogin
while packaing.I have tried the following solutions with no benefit:
Similar or dependent issues:
4841
3127
Additional Data