Skip to Content

npm install error - unable to get local issuer certificate


Resolving error: 'unable to get local issuer certificate' during node installation


Overview: This article describes how to resolve the 'unable to get local issuer certificate' error during Node installation by temporarily disabling strict SSL.


Error: unable to get local issuer certificate   


This usually occurs when the outbound connection on port 443 has been blocked and can be resolved by running the command below : 

:~# npm config set strict-ssl false


Related Articles:

Install node using npm and n module.

How to list Apache modules.