VGS: Accept all hostnames for SSL certificate validation, but still validate the certificate itself.

This commit is contained in:
Ialokim 2018-06-30 14:11:36 +02:00 committed by Andreas Schildbach
parent ea0865f3c2
commit 1b127aed1d

View file

@ -43,6 +43,7 @@ public class VgsProvider extends AbstractHafasLegacyProvider {
setStationBoardHasStationTable(false);
httpClient.setTrustAllCertificates(true);
httpClient.setSslAcceptAllHostnames(true);
}
@Override