Open Alexander-Ignition opened 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.
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.
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.