RedMadRobot / catbird

Mock server for UI tests
MIT License
50 stars 10 forks source link

Ignore certificate error #12

Open Alexander-Ignition opened 5 years ago

Alexander-Ignition commented 5 years ago

Ignore certificate error in write mode

NSURLError.NSURLErrorDomain: -1202: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “example.com” which could put your confidential information at risk.

subdan commented 5 years ago

In Vapor 2, it was possible to set TLS settings in the Config.json

"tls": {
   "verifyHost": false,
   "verifyCertificates": false
}

Vapor 3 doesn't have Config.json file.