"An SSL error has occurred and a secure connection to the server cannot be made."
I have set: u.AllowCertificateValidation=false
My client assures me that the certificate is valid and when I try to hit the url from Safari, I can get through, although I get an error because I’m not submitting the form data through the browser.
I’m not even sure where to start with debugging this.
Help?
that I’m not sure of.
But the fact that I can hit that server from Safari without the typical security message makes me believe them.
However, SSL certificates are clearly not something I’m good with.
I’ve tried it with a plist key for the domain (including subdomain) but it won’t run, just gives the same error. Maybe somebody @ xojo can suspect what’s happening here ?
The certificate and it’s chain is valid.
it works with curl without issues.
The error is only on mac as far as i know with URLConnection (sync and event based).
That’s bizarre. URLConnection is just a wrapper onto apple’s NSURLConnection on macOS IIRC.
Do you have Paw that you could try the connection with a third party app using a NSURLConnection ?
Also, remember that a socket isn’t exactly the same as a browser. I wouldn’t expect it here, but maybe make sure all of the standard browser headers are also being sent?
The CURLSMBS is working but only when the cacert.pem from curl online (latest) is being used in CAInfo param. I guess there is something wrong with the cert chain order (root to domain), since there is nothing actually that indicates the certs being wrong. I send the TS a example project for it’s cause with CURLSMBS that works.