New with iOS 9 and Mac OS X 10.11 is ATS, App Transport Security. To help you troubleshoot HTTPS settings, Apple is providing a command line tool called
As I’m using a Self-Signed certificate,
nscurl fails for me with all its settings. Something like this:
As far as I could find, there’s no parameter to specify a certificate to be used. The only work-around I was able to use is:
- Install the certificate on your Mac’s keychain.
- Using Keychain Access, change the trust settings of the certificate to “Always Allow”.
With this change you should be able to run
nscurl and see the results. Please remember to remove the certificate from your keychain afterwards.