https://weixin.yirendai.com/licaiquan/landing/?rel=WgfEJ5aTEZPZyIbJhGb64loK8N5DC0As0ZKhvsXgMlvQmZGCpQNeKEvPn7WPLmvT&;shareto=C2003&articleId=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcnRpY2xlX2lkIjoiMDM1YmE3ZTMxNTYzNDJhZmEyNWRmNWYwNDk2NzBkN2YiLCJzb3VyY2VfdHlwZSI6IjEifQ.4c_fp9nNcOegOfx3F-pOg3bgt-hmLzwablbG0jVNxgk
Mac OS下安装mysqlclient遇到的一些坑最近在学些Python时搭建相关环境,想在本地Mac上装上mysqlclient,但着实遇到不少坑,最终还是在github issue中找到了解决方法,这里记录一下,也让遇到...
最近在学些Python时搭建相关环境,想在本地Mac上装上mysqlclient,但着实遇到不少坑,最终还是在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(自建证书+单向验证+AF3.0+WKWebView+SDWebImage)马上就2017年了,据说元旦apple就强制HTTPS了,就像之前强制IPV6一样任性,好方~~~不到万不得已,项目经理不舍得买CA证书,于是就开始了坑爹的自建证书HTTPS...