# certificate has expired settings.js

**URL:** https://discourse.nodered.org/t/certificate-has-expired-settings-js/97289
**Category:** General
**Tags:** function-node
**Created:** [27 May 2025 11:37 UTC](https://discourse.nodered.org/t/certificate-has-expired-settings-js/97289 "2025-05-27T11:37:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BaNod-Red](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@BaNod-Red](https://discourse.nodered.org/u/BaNod-Red)
#### Post date: [27 May 2025 11:37 UTC](https://discourse.nodered.org/t/certificate-has-expired-settings-js/97289/1 "2025-05-27T11:37:24Z")

</div>

Hello,  
Do you know of any other methods to unblock TLS for transactional.  
In the settings js  
In no way solves the problem I still get the message  
RequestError: certificate has expired

settings.js  
process.env.NODE\_TLS\_REJECT\_UNAUTHORIZED = '0';  
module.exports = {

---

<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: [27 May 2025 13:19 UTC](https://discourse.nodered.org/t/certificate-has-expired-settings-js/97289/2 "2025-05-27T13:19:09Z")

</div>

Hi, welcome to the community.

The best thing is simply to get the certificate updated.

---

<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: [25 August 2025 13:19 UTC](https://discourse.nodered.org/t/certificate-has-expired-settings-js/97289/3 "2025-08-25T13:19:24Z")

</div>

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