fix HTTP up/download for users that dont trust system CAs
(cherry picked from commit 55b2f2656d92674b3d7a8e986669e3d3e38a4206)
This commit is contained in:
parent
200ed799c4
commit
d3c61cd81c
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ public class MemorizingTrustManager {
|
|||
|
||||
private X509Certificate[] getAcceptedIssuers() {
|
||||
LOGGER.log(Level.FINE, "getAcceptedIssuers()");
|
||||
return defaultTrustManager.getAcceptedIssuers();
|
||||
return defaultTrustManager == null ? new X509Certificate[0] : defaultTrustManager.getAcceptedIssuers();
|
||||
}
|
||||
|
||||
private int createDecisionId(MTMDecision d) {
|
||||
|
|
Loading…
Add table
Reference in a new issue