Last Updated: January 17, 2017
· 123aswin123
261905 photo me

Fix the 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' error on Alpine Linux Inside Docker

While installing NPM modules on a docker container running alpine linux I encountered the UNABLE_TO_GET_ISSUER_CERT_LOCALLY' error

So here are the steps I followed to fix the error

# apk update
# apk add ca-certificates

Now when you do npm install <package name> the error should be resolved

Say Thanks