https://weixin.yirendai.com/licaiquan/landing/?rel=WgfEJ5aTEZPZyIbJhGb64loK8N5DC0As0ZKhvsXgMlvQmZGCpQNeKEvPn7WPLmvT&;shareto=C2003&articleId=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcnRpY2xlX2lkIjoiMDM1YmE3ZTMxNTYzNDJhZmEyNWRmNWYwNDk2NzBkN2YiLCJzb3VyY2VfdHlwZSI6IjEifQ.4c_fp9nNcOegOfx3F-pOg3bgt-hmLzwablbG0jVNxgk
Mac OS下安裝mysqlclient遇到的一些坑最近在學(xué)些Python時搭建相關(guān)環(huán)境,想在本地Mac上裝上mysqlclient,但著實(shí)遇到不少坑菩貌,最終還是在github issue中找到了解決方法,這里記錄一下重荠,也讓遇到...
最近在學(xué)些Python時搭建相關(guān)環(huán)境箭阶,想在本地Mac上裝上mysqlclient,但著實(shí)遇到不少坑,最終還是在github issue中找到了解決方法仇参,這里記錄一下嘹叫,也讓遇到...
+ (NSSet *)certificatesInBundle:(NSBundle *)bundle {
NSArray *paths = [bundle pathsForResourcesOfType:@"cer" inDirectory:@"."];
NSMutableSet *certificates = [NSMutableSet setWithCapacity:[paths count]];
for (NSString *path in paths) {
NSData *certificateData = [NSData dataWithContentsOfFile:path];
[certificates addObject:certificateData];
}
return [NSSet setWithSet:certificates];
}
AF3.x加載證書是.cer,并不是.der吧
iOS 遷移到HTTPS(自建證書+單向驗(yàn)證+AF3.0+WKWebView+SDWebImage)馬上就2017年了诈乒,據(jù)說元旦apple就強(qiáng)制HTTPS了罩扇,就像之前強(qiáng)制IPV6一樣任性,好方~~~不到萬不得已怕磨,項目經(jīng)理不舍得買CA證書暮蹂,于是就開始了坑爹的自建證書HTTPS...