iOS: ASIHTTPRequest validate self sign certificate

139 Views Asked by At

With library asi-http-request and I have imported a certificate (.der) into resource bundle and want to make https connection only to server which providing the self sign certificate.

How can I achive this? I don't want to just disabling setValidatesSecureCertificate and allowing all https connections.

Thanks!

1

There are 1 best solutions below

0
Chiu On BEST ANSWER

With the patch, asi-http-request able to trust a customized trust store.