blippar / aragorn

Regression tests made easy
Apache License 2.0
7 stars 1 forks source link

Allow insecure SSL url via an option (equivalent to `curl -k`) #9

Closed 0rax closed 6 years ago

0rax commented 6 years ago

Some of our geobalanced services are running being a TLS connection with SSL certificate only valid for *.domain.org which is valid for the geobalanced domain name service.domain.org but not the datacenter specific one dc1.service.domain.org though when testing those service we would like to be able to test all datacenter separately which requires us to be able to allow any SSL certificate for such endpoint.

Would it be possible to add an option under the suite.base and suite.tests.[].request to allow this behavior. We could call this option insecure to follow curl nomenclature (for reference: curl: -k, --insecure Allow connections to SSL sites without certs (H)).