Skip to content

Commit a559fef

Browse files
committed
test 2
1 parent 9a9d29d commit a559fef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

OpenFlowNodeRED/src/WebServer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ export class WebServer {
5656
if(ca.indexOf("---") === -1) {
5757
ca = Buffer.from(Config.tls_ca, 'base64').toString('ascii');
5858
}
59-
options.ca = ca;
59+
if(ca.indexOf("---") > -1) {
60+
options.ca = ca;
61+
}
6062
// options.cert += "\n" + ca;
6163
}
6264
if(Config.tls_passphrase!=="") {

0 commit comments

Comments
 (0)