mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Copy tls.cert to tls.certificate for GOT
This commit is contained in:
parent
26087f8dc7
commit
555e815402
@ -453,6 +453,10 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
|||||||
opts.https.certificateAuthority = opts.https.ca;
|
opts.https.certificateAuthority = opts.https.ca;
|
||||||
delete opts.https.ca;
|
delete opts.https.ca;
|
||||||
}
|
}
|
||||||
|
if (opts.https.cert) {
|
||||||
|
opts.https.certificate = opts.https.cert;
|
||||||
|
delete opt.https.cert;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (msg.hasOwnProperty('rejectUnauthorized')) {
|
if (msg.hasOwnProperty('rejectUnauthorized')) {
|
||||||
opts.https = { rejectUnauthorized: msg.rejectUnauthorized };
|
opts.https = { rejectUnauthorized: msg.rejectUnauthorized };
|
||||||
|
Loading…
Reference in New Issue
Block a user