# SSL certificate request

**URL:** <https://discourse.nodered.org/t/ssl-certificate-request/63299>\
**Category:** General\
**Tags:** security\
**Created:** [31 May 2022 12:17 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299 "2022-05-31T12:17:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbcliff47](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Post date:** [31 May 2022 12:17 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299/1 "2022-05-31T12:17:16Z")

</div>

Hi,

I was wondering if it is needed the SHA-256 algorithm to generate a certificate request for node-red or if another algorithm could be used.

Thanks!!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [31 May 2022 13:00 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299/2 "2022-05-31T13:00:46Z")

</div>

You will need to check out what node.js's https library supports I think?

Some algorithms have been deprecated over the last few years due to vulnerabilities and the increased power of systems that can brute-force them.

---

<div class="post-metadata">

**Author:** ![cbcliff47](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Post date:** [31 May 2022 17:33 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299/3 "2022-05-31T17:33:41Z")

</div>

Thanks for your response!! The problem is that I cannot find any information about why should we choose the sha-256 algorithm instead of another one. Also, I don't know what different options could we have.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [31 May 2022 22:30 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299/4 "2022-05-31T22:30:42Z")

</div>

A couple of reference links for you to help you decide 😀

[SSL/TLS Best Practices for 2021 - SSL.com](https://www.ssl.com/guide/ssl-best-practices/)

[Using Transport Layer Security to protect data - NCSC.GOV.UK](https://www.ncsc.gov.uk/guidance/using-tls-to-protect-data#section_5)

I should also note that I generally don't bother too much about the TLS configuration in Node-RED since I'll use a reverse proxy to do the TLS termination for anything serious. I only have it turned on in Node-RED to stop my browser whinging about "insecure" sites when I connect directly.

For external access, I also prefer to only allow that via Cloudflare into the proxy. Cloudflare is able to provide a further level of protection and adds some basic DDOS protection.

---

<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:** [30 July 2022 22:30 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299/5 "2022-07-30T22:30:51Z")

</div>

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