mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 00:50:31 +00:00
VGS: Accept all hostnames for SSL certificate validation, but still validate the certificate itself.
This commit is contained in:
parent
ea0865f3c2
commit
1b127aed1d
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ public class VgsProvider extends AbstractHafasLegacyProvider {
|
||||||
|
|
||||||
setStationBoardHasStationTable(false);
|
setStationBoardHasStationTable(false);
|
||||||
httpClient.setTrustAllCertificates(true);
|
httpClient.setTrustAllCertificates(true);
|
||||||
|
httpClient.setSslAcceptAllHostnames(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue