ios afnetworking https遇到的一些问题

    xiaoxiao2021-03-25  16

    ios afnetworking https遇到的一些问题  1.服务器端给的crt文件,假如直接用crt文件,会直接afnetworking直接崩溃,报错为 数组插入了空值.  2.此时 把crt文件转为 cer 文件,直接用钥匙串访问工具导出,默认就为cer文件. 3.可能加入cer证书文件读取data为nil,是因为你没有把target  menbership勾上.  4.sdwebimage默认支持ssl. option 设置为 SDWebImageAllowInvalidSSLCertificates,  可以直接修改 UIImageView+WebCache.h 分类的方法.
    转载请注明原文地址: https://ju.6miu.com/read-300170.html

    最新回复(0)