diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index bf193b6af..508299cf4 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -453,6 +453,10 @@ in your Node-RED user directory (${RED.settings.userDir}). opts.https.certificateAuthority = opts.https.ca; delete opts.https.ca; } + if (opts.https.cert) { + opts.https.certificate = opts.https.cert; + delete opt.https.cert; + } } else { if (msg.hasOwnProperty('rejectUnauthorized')) { opts.https = { rejectUnauthorized: msg.rejectUnauthorized };