# Curl to HTTP Request, msg.rejectUnauthorized

**URL:** https://discourse.nodered.org/t/curl-to-http-request-msg-rejectunauthorized/96828
**Category:** General
**Created:** [30 April 2025 12:18 UTC](https://discourse.nodered.org/t/curl-to-http-request-msg-rejectunauthorized/96828 "2025-04-30T12:18:17Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)
#### Post date: [30 April 2025 15:38 UTC](https://discourse.nodered.org/t/curl-to-http-request-msg-rejectunauthorized/96828/6 "2025-04-30T15:38:55Z")

</div>

I have carried on and using the search `process.env.NODE_TLS_REJECT_UNAUTHORIZED =` from @omrid answer, I found this thread

> [@Disable SSL certificate verification](https://discourse.nodered.org/t/disable-ssl-certificate-verification/88195/3):
>
> Hi Knolleary unfortunately doesnt work. I still have no response from the request

I imported this into my flow and modified my HTTP request to the same as the 'Self Signed' HTTP Request node in this flow. It didn't work.

Copied the 'Self Signed' HTTP Request and inserted in place of my node and it worked. I have now studied both my original node with that from the other thread and can find no differences. I have no idea why it wouldn't work.

Funnily enough, one of my 'fumblings' yesterday was to create a TLS check as @knolleary had indicated (without seeing his post). So I am please I was on the right track.

Thank you @omrid and @UnborN for your pointers! I couldn't have done it without your help!!

---

_[View the full topic](https://discourse.nodered.org/t/curl-to-http-request-msg-rejectunauthorized/96828)._
