diff --git a/src/main/ipc-handlers/connection.js b/src/main/ipc-handlers/connection.js index 696aeb99..3a0019aa 100644 --- a/src/main/ipc-handlers/connection.js +++ b/src/main/ipc-handlers/connection.js @@ -24,7 +24,8 @@ export default connections => { key: conn.key ? fs.readFileSync(conn.key) : null, cert: conn.cert ? fs.readFileSync(conn.cert) : null, ca: conn.ca ? fs.readFileSync(conn.ca) : null, - ciphers: conn.ciphers + ciphers: conn.ciphers, + rejectUnauthorized: !conn.untrustedConnection }; } @@ -84,7 +85,8 @@ export default connections => { key: conn.key ? fs.readFileSync(conn.key) : null, cert: conn.cert ? fs.readFileSync(conn.cert) : null, ca: conn.ca ? fs.readFileSync(conn.ca) : null, - ciphers: conn.ciphers + ciphers: conn.ciphers, + rejectUnauthorized: !conn.untrustedConnection }; } diff --git a/src/renderer/components/WorkspaceAddConnectionPanel.vue b/src/renderer/components/WorkspaceAddConnectionPanel.vue index 24ba79ec..6087dba3 100644 --- a/src/renderer/components/WorkspaceAddConnectionPanel.vue +++ b/src/renderer/components/WorkspaceAddConnectionPanel.vue @@ -253,6 +253,14 @@ > +