Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error connecting to SSL enabled backend service

Not applicable

Hi all

I am currently having problems connecting to an https service via my microgateway instance (running Node v4.6.0). The SSL certificates used by the service is issued by our internal CA

Whenever a request is made, the Microgateway responds with the following:

{"message":"unable to get local issuer certificate","code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"}

I've added the certs for our internal CA to the server running the microgateway and a curl happily accesses the service directly.

I've also tried directly pointing Node to the certificates using the following but the outcome remains the same.

npm config set cafile /etc/ssl/certs/ca-certificates.crt

Any suggestions?

Thanks

David

1 7 1,668
7 REPLIES 7