diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-05-01 18:54:45 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-05-01 18:54:45 +0200 |
commit | d3986ca7d86879b035e539607abc2556d2c78663 (patch) | |
tree | d5e58562fb97bc699fc018bd75cb306b36a508a6 | |
parent | 4fba2f23915a0566b521307de8abe2ee13f4cdad (diff) | |
download | TwitterDataAnalytics-d3986ca7d86879b035e539607abc2556d2c78663.tar.gz |
run.sh: add helper to disable hostname verification
-rwxr-xr-x | run.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,6 +20,11 @@ proxy_options() { echo -Dhttps.proxyHost=localhost echo -Dhttps.proxyPort=$proxyport echo -Djavax.net.ssl.trustStore=$CA + # Disable hostname verification + premain=tools/DisableSSLHostnameVerify.jar + if [ -e "$premain" ]; then + echo -javaagent:$premain + fi } # Exit on errors |