Just to try to help someone, I went through something similar and managed to solve it by setting this Env: NODE_TLS_REJECT_UNAUTHORIZED=0.
NODE_TLS_REJECT_UNAUTHORIZED=0
Ref: https://stackoverflow.com/a/21961005/10686489