{"library":"node-red-contrib-https","title":"Node-RED HTTPS Request with Peer Certificate Output","description":"This Node-RED contribution provides an enhanced HTTP Request node specifically designed for making HTTPS requests. It extends the core Node-RED HTTP Request node by adding the `msg.peerCertificate` property to the output message, allowing flow developers to inspect the server's TLS/SSL certificate after a successful connection. This is crucial for applications requiring advanced certificate validation or logging. The package is currently at version 2.0.0, indicating a stable release with potential breaking changes from previous major versions. Node-RED contrib packages typically follow an as-needed release cadence, driven by user feedback and Node-RED core updates. Its key differentiator is the direct exposure of the `peerCertificate` object, which is not available in the standard Node-RED HTTP Request node, making it indispensable for secure or compliance-driven integrations.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install node-red-contrib-https"],"cli":null},"imports":["npm install node-red-contrib-https","Drag 'HTTPS Request' from the Network section of the Node-RED palette into your flow.","msg.peerCertificate"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"[{\"id\":\"b9e4a3c1.9c6f98\",\"type\":\"tab\",\"label\":\"HTTPS Request with Peer Certificate\",\"disabled\":false,\"info\":\"\"},{\"id\":\"e3f0d2b7.4a1e5c\",\"type\":\"https request\",\"z\":\"b9e4a3c1.9c6f98\",\"name\":\"Fetch example.com cert\",\"method\":\"GET\",\"ret\":\"obj\",\"paytoqs\":\"qs\",\"url\":\"https://example.com/\",\"tls\":\"\",\"persist\":false,\"proxy\":\"\",\"authType\":\"\",\"senderr\":false,\"x\":390,\"y\":100,\"wires\":[[\"c1d0a2f5.e3b4d6\"]]},{\"id\":\"c1d0a2f5.e3b4d6\",\"type\":\"debug\",\"z\":\"b9e4a3c1.9c6f98\",\"name\":\"Show Peer Certificate\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"peerCertificate\",\"targetType\":\"msg\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":620,\"y\":100,\"wires\":[]},{\"id\":\"a7b8c9d0.e1f2a3\",\"type\":\"inject\",\"z\":\"b9e4a3c1.9c6f98\",\"name\":\"Trigger Request\",\"props\":[{\"p\":\"payload\"},{\"p\":\"topic\",\"vt\":\"str\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"\",\"payloadType\":\"date\",\"x\":170,\"y\":100,\"wires\":[[\"e3f0d2b7.4a1e5c\"]]} ]","lang":"json","description":"This Node-RED flow demonstrates how to use the 'HTTPS Request' node to fetch data from `example.com` and then display the `peerCertificate` object in the debug sidebar.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}