shaojiankui/SmartPush

证书报错

wyxuan opened this issue · 0 comments

wyxuan commented

_connectResult = SecIdentityCreateWithCertificate(_keychain, _currentSec.certificateRef, &_identity);
// NSLog(@"SecIdentityCreateWithCertificate(): %d", result);
if(_connectResult != errSecSuccess ){
[self log:[NSString stringWithFormat:@"SSL端点域名不能被设置 %d",_connectResult] warning:YES];
}

从苹果后太导出的cer也安装到电脑了,托这个cer文件进来就会报这个错误