catbird icon indicating copy to clipboard operation
catbird copied to clipboard

Ignore certificate error

Open Alexander-Ignition opened this issue 6 years ago • 1 comments

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.

Alexander-Ignition avatar Oct 16 '19 08:10 Alexander-Ignition

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.

subdan avatar Oct 21 '19 07:10 subdan