# Leaf signature error on HTTP request node

**URL:** <https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757>\
**Category:** General\
**Created:** [23 July 2018 10:21 UTC](https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757 "2018-07-23T10:21:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nygma2004](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nygma2004/32/1308_2.png) [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Post date:** [23 July 2018 10:21 UTC](https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757/1 "2018-07-23T10:21:52Z")

</div>

Hi All,

All of a sudden I am getting UNABLE\_TO\_VERIFY\_LEAF\_SIGNATURE error when I use the HTTP node with an HTTPS request. I can see that this was an issue back in 2014, 2016 so I am puzzled why I am seeing this issue right now.  
The site I am trying to access looks OK in Chrome. And I have not made any changes to the flow, or node red. It was working OK.  
Yesterday there was a power outage and the PI rebooted, but that is all.

Regards,  
Csongor

---

<div class="post-metadata">

**Author:** ![nygma2004](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nygma2004/32/1308_2.png) [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Post date:** [25 July 2018 06:29 UTC](https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757/2 "2018-07-25T06:29:21Z")

</div>

I managed to resolve this issue. It was actually part of the http request node documentation. I just had to set this and the signature issues are ignored:  
msg.rejectUnauthorized = false;

Cheers,  
Csongor

---

<div class="post-metadata">

**Author:** ![freddyrm](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@freddyrm](https://discourse.nodered.org/u/freddyrm)\
**Post date:** [19 May 2020 09:56 UTC](https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757/3 "2020-05-19T09:56:25Z")

</div>

Hello, resuming an old post.

It's not working for me, I am using an http request node and tried to set this parameter using a change node and a function node.

where did you put it?

---

<div class="post-metadata">

**Author:** ![nygma2004](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nygma2004/32/1308_2.png) [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Post date:** [20 May 2020 20:08 UTC](https://discourse.nodered.org/t/leaf-signature-error-on-http-request-node/1757/4 "2020-05-20T20:08:28Z")

</div>

> [@Solved by nygma2004 in post #2](#):
>
> msg.rejectUnauthorized

You put it in function node before the http request:

```auto
msg.rejectUnauthorized = false;
return msg;

```

That should take care of it.
