---
title: "Discussion on \"unable to get local issuer certificate (node-gyp, Node, npm)\" | Hashnode"
description: "Discussion on \"unable to get local issuer certificate (node-gyp, Node, npm)\". This should be used only as a temporary fix for development, it exposes you to man-in-the-middle attacks. The long-term solution should be to properly set up SSL certificates.\n\nWindows\n\nset NODE_TLS_REJECT_UNAUTHORIZED=0\n\nLinux\n\nexport NODE_TLS_REJEC..."
url: "https://hashnode.com/posts/unable-to-get-local-issuer-certificate-node-gyp-node-npm/6596051c1610af1fc4effdc2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [unable to get local issuer certificate (node-gyp, Node, npm)](https://blog.rinoreji.in/unable-to-get-local-issuer-certificate-node-gyp-node-npm?utm_source=hashnode&utm_medium=feed)

This should be used only as a temporary fix for development, it exposes you to man-in-the-middle attacks. The long-term solution should be to properly set up SSL certificates. Windows set NODE\_TLS\_REJECT\_UNAUTHORIZED=0 Linux export NODE\_TLS\_REJEC...

Jan 4, 2024 · 1 min read · blog.rinoreji.in  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#ssl](https://hashnode.com/tag/ssl)
-   [#npm](https://hashnode.com/tag/npm)
-   [#npm-error](https://hashnode.com/tag/npm-error)

## Written by

[Rino Reji Cheriyan](https://hashnode.com/@rinoreji)

@rinoreji

  
[View profile](https://hashnode.com/@rinoreji)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
