# How to use (client) mTLS in the http-request node?

**URL:** <https://discourse.nodered.org/t/how-to-use-client-mtls-in-the-http-request-node/37921>\
**Category:** General\
**Created:** [23 December 2020 12:47 UTC](https://discourse.nodered.org/t/how-to-use-client-mtls-in-the-http-request-node/37921 "2020-12-23T12:47:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![w4tsn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/w4tsn/32/11054_2.png) [@w4tsn](https://discourse.nodered.org/u/w4tsn)\
**Post date:** [23 December 2020 12:47 UTC](https://discourse.nodered.org/t/how-to-use-client-mtls-in-the-http-request-node/37921/1 "2020-12-23T12:47:17Z")

</div>

I have a server endpoint secured with an mTLS based authentication which I want to use for a GET request in the http-request node. I expected this to simply work by setting SSL/TLS configuration node with the crt, key and ca files but apparently it doesn't and instead throws "UNABLE\_TO\_GET\_ISSUER\_CERT\_LOCALLY"

I've already tried what I found online adding the ca.pem path as NODE\_EXTRA\_CA\_CERTS with no success so far. Is this supposed to work and I don't get it or might there be a problem? Or is it simply not supported?

EDIT: Ok, nvm. It works when removing "Verify server certificate" so maybe there is something wrong with the client cert and ca cert files common names. Have to look into that

---

<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:** [21 February 2021 12:47 UTC](https://discourse.nodered.org/t/how-to-use-client-mtls-in-the-http-request-node/37921/2 "2021-02-21T12:47:17Z")

</div>

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