1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Added ssl cerfificate ignore by default

This commit is contained in:
Adolfo Gómez 2013-04-25 03:21:39 +00:00
parent ea93e978eb
commit cdd31fe812

View File

@ -50,6 +50,7 @@ public class Util {
public static boolean download(String baseUrl, String id, String outputFileName, boolean ignoreCert)
{
// SSL Part got from sample at http://code.google.com/p/misc-utils/wiki/JavaHttpsUrl
try {
final TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() {
@Override