smart intercept https request when rootCA exists

This commit is contained in:
加里
2014-09-12 10:48:09 +08:00
parent cb813f8cb5
commit e9813a1b44
3 changed files with 10 additions and 5 deletions

View File

@@ -8,7 +8,6 @@ var exec = require('child_process').exec,
util = require('./util'),
asyncTask = require("async-task-mgr");
//TODO : move root cert from cmd to cert
var certDir = path.join(util.getUserHome(),"/.anyproxy_certs/"),
cmdDir = path.join(__dirname,"..","./cert/"),
cmd_genRoot = path.join(cmdDir,"./gen-rootCA"),