# 2.0.3 http request node with tls - valid certificates no longer work

**URL:** <https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892>\
**Category:** General\
**Created:** [25 July 2021 20:09 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892 "2021-07-25T20:09:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agarity](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/agarity/32/45481_2.png) [@agarity](https://discourse.nodered.org/u/agarity)\
**Post date:** [25 July 2021 20:09 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892/1 "2021-07-25T20:09:57Z")

</div>

I upgraded my instance today to 2.0.3 from 1.3.5 and noticed all of my HTTP request nodes are displaying errors under the node "SELF\_SIGNED\_CERT\_IN\_CHAIN" However the server these are going to has a valid cert, and openssl verify against the CA cert, comes back successful. I restored my backup from 1.3.5 install and everything works fine. The only way I have identified to get rid of the errors is to turn off certificate verification, but even with a valid cert, valid ca present nodered request node seems to think its untrusted or self signed.

Anyone else exhibit this?  
example flow (works in 1.3.5, fails once upgraded to 2.0.3):

```auto
[
    {
        "id": "ede8f8bc3ed1d623",
        "type": "http request",
        "z": "90a227ad3d39d234",
        "name": "",
        "method": "POST",
        "ret": "txt",
        "paytoqs": "ignore",
        "url": "https://em01.ag.home.lab/api/login",
        "tls": "06b9d026eb93bb05",
        "persist": false,
        "proxy": "",
        "authType": "",
        "credentials": {},
        "x": 400,
        "y": 400,
        "wires": [
            [
                "7ff06071f1d48158"
            ]
        ]
    },
    {
        "id": "06b9d026eb93bb05",
        "type": "tls-config",
        "name": "CA Verify",
        "cert": "",
        "key": "",
        "ca": "",
        "certname": "",
        "keyname": "",
        "caname": "ca01",
        "servername": "",
        "verifyservercert": true,
        "alpnprotocol": "",
        "credentials": {}
    }
]

```

error returned in debug message:

> RequestError: self signed certificate in certificate chain

Anyone else run into this? I checked github issue tracker and didn't see any relevant issues opened so figure I'd check here first.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 July 2021 20:13 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892/2 "2021-07-25T20:13:13Z")

</div>

Please do raise an issue.

---

<div class="post-metadata">

**Author:** ![agarity](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/agarity/32/45481_2.png) [@agarity](https://discourse.nodered.org/u/agarity)\
**Post date:** [25 July 2021 20:20 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892/3 "2021-07-25T20:20:01Z")

</div>

Ok, will move this discussion to issue tracker. Thanks for the quick reply!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 August 2021 20:20 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892/4 "2021-08-08T20:20:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
