App Transport Security and Self-signed Certificates

Does anyone know if the ATS (App Transport Security) works with Self-Signed certificates when connecting to an SSL-enabled, Apache Web Server? I am receiving an “NSURLErrorDomain error -1012” message when I try to download some data from a local web server.

The SSL website is working fine and the data can be access via a web browser. Yet, when I try to connect to it (via Xojo), I am getting the above error.

Hmm.

from <https://xojo.com/issue/56384>

NSURLErrorUserCancelledAuthentication      = -1012

However I’m not sure about self signed based on Apple Developer Documentation