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!
使用补丁 ,asi-http-request能够信任自定义的信任库。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.