Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.05k stars 1.37k forks source link

The certificate for this server is invalid. You might be connecting to a server that is pretending to be “qmuiteam.com” which could put your confidential information at risk. #1396

Closed nouslove closed 2 years ago

nouslove commented 2 years ago

Task <4289798A-C390-4BB8-986C-DEC0317B6157>.<1> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “qmuiteam.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( "<cert(0x116047800) s: qmuiteam.com i: R3>", "<cert(0x116048000) s: R3 i: ISRG Root X1>", "<cert(0x116048800) s: ISRG Root X1 i: DST Root CA X3>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://qmuiteam.com/analytics/usageReport, NSErrorFailingURLStringKey=https://qmuiteam.com/analytics/usageReport, NSUnderlyingError=0x283c1eac0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x2803714a0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9814, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9814, kCFStreamPropertySSLPeerCertificates=( "<cert(0x116047800) s: qmuiteam.com i: R3>", "<cert(0x116048000) s: R3 i: ISRG Root X1>", "<cert(0x116048800) s: ISRG Root X1 i: DST Root CA X3>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <4289798A-C390-4BB8-986C-DEC0317B6157>.<1>" ), _kCFStreamErrorCodeKey=-9814, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4289798A-C390-4BB8-986C-DEC0317B6157>.<1>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x2803714a0>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “qmuiteam.com” which could put your confidential information at risk.}

使用cocoaPods 方式导入,使用出现以上的问题

nouslove commented 2 years ago

sendAnalyticsToQMUITeam 设为NO

MoLice commented 2 years ago

官网证书过期,近期会更新。