pass in configuration.Reader to gateways

[#66528632]
Respect --skip-ssl-validation flag

[#66528632]