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:
parent
ea93e978eb
commit
cdd31fe812
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user