mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +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);
|
||||
httpClient.setTrustAllCertificates(true);
|
||||
httpClient.setSslAcceptAllHostnames(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue