Essentially I using a URL session to pull data from https://www.floridabar.org/mybarprofile/
As you can see it uses HTTPS and when visiting the site I have verified indeed it has been issued a certificate from Entrust and the cert is valid. Yet I get this error:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
I know how to bypass it via Info.plist but I feel I shouldn't have to given that it is HTTPS. This is my code:
let url = URL(string: "https://www.floridabar.org/mybarprofile/\(barNumber.text!)")
let task = URLSession.shared.dataTask(with: url!) { (data, response, error) in
print(NSString(data: data!, encoding: String.Encoding.utf8.rawValue))
}
task.resume()