gabriel / as3httpclient

HTTP Client for AS3
MIT License
243 stars 76 forks source link

TLSEngine shutdown triggered by Error: Cannot verify certificate #14

Open armmywg opened 3 years ago

armmywg commented 3 years ago

When using https to get data, it prompts "TLSEngine shutdown triggered by Error: Cannot verify certificate"

var client:HttpClient = new HttpClient(); var uri:URI = new URI("https://www.baidu.com/"); uri.scheme = "https"; uri.port = "443"; var variables:Array = [ { name: "fname" } ]; client.postFormData(uri,variables);