# Bearer authentication and ssl/tsl authentication

**URL:** <https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417>\
**Category:** General\
**Tags:** http-request, security\
**Created:** [19 October 2021 12:53 UTC](https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417 "2021-10-19T12:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SumeetBulani](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Post date:** [19 October 2021 12:53 UTC](https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417/1 "2021-10-19T12:53:21Z")

</div>

Hello community,  
I have been trying to make a http request (POST request) to an API and I have a bearer token and the URL for it as well. The first error on deploying it is that self signed certificate is required. On then enabling secure (ssl/tls) configuration, I provided a certificate, private key and CA certificate. However, the error it throws is, "RequestError: error:0909006C:PEM routines:get\_name:no start line : "  
Any idea on the issue? I have just started working on Node-RED so any help would be greatly appreciated. Thanks in advance!

---

<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:** [18 December 2021 12:53 UTC](https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417/2 "2021-12-18T12:53:27Z")

</div>

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