forked from External/mage
images: fixed symbols download from gatherer website, removed custom cacert key storage (close #13159, close #13157, related to #9266)
This commit is contained in:
parent
7a1d22d459
commit
7e0c9bb5c5
4 changed files with 60 additions and 13 deletions
|
|
@ -48,6 +48,12 @@ public class XmageURLConnection {
|
|||
private static final AtomicLong debugLastRequestTimeMs = new AtomicLong(0);
|
||||
private static final ReentrantLock debugLogsWriterlock = new ReentrantLock();
|
||||
|
||||
static {
|
||||
// add Authority Information Access (AIA) Extension support for certificates from Windows servers like gatherer website
|
||||
// fix download errors like sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
||||
System.setProperty("com.sun.security.enableAIAcaIssuers", "true");
|
||||
}
|
||||
|
||||
final String url;
|
||||
Proxy proxy = null;
|
||||
HttpURLConnection connection = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue