diff options
author | Johannes Zellner <johannes@cloudron.io> | 2017-02-09 13:02:55 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2017-02-09 13:02:55 +0100 |
commit | 6745c64afc8531c6a6eca4e0a81b39fc2653aa24 (patch) | |
tree | 6a2008a586c714b190eae408bbc4c6d8f7bb922e /cli | |
parent | 9b7a26fc3708ac42d7d29c4329adbde465d29220 (diff) | |
download | Surfer-6745c64afc8531c6a6eca4e0a81b39fc2653aa24.tar.gz Surfer-6745c64afc8531c6a6eca4e0a81b39fc2653aa24.tar.zst Surfer-6745c64afc8531c6a6eca4e0a81b39fc2653aa24.zip |
do not blindly allow self-signed certs
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/surfer.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/surfer.js b/cli/surfer.js index 4c096d3..7c5ac8a 100755 --- a/cli/surfer.js +++ b/cli/surfer.js | |||
@@ -5,9 +5,6 @@ | |||
5 | var program = require('commander'), | 5 | var program = require('commander'), |
6 | actions = require('./actions'); | 6 | actions = require('./actions'); |
7 | 7 | ||
8 | // Allow self signed certs! | ||
9 | process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; | ||
10 | |||
11 | program.version('0.1.0'); | 8 | program.version('0.1.0'); |
12 | 9 | ||
13 | program.command('login <url>') | 10 | program.command('login <url>') |