We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9d29d commit a559fefCopy full SHA for a559fef
1 file changed
OpenFlowNodeRED/src/WebServer.ts
@@ -56,7 +56,9 @@ export class WebServer {
56
if(ca.indexOf("---") === -1) {
57
ca = Buffer.from(Config.tls_ca, 'base64').toString('ascii');
58
}
59
- options.ca = ca;
+ if(ca.indexOf("---") > -1) {
60
+ options.ca = ca;
61
+ }
62
// options.cert += "\n" + ca;
63
64
if(Config.tls_passphrase!=="") {
0 commit comments