Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download framework #4

Open
holyman2k opened this issue May 23, 2023 · 0 comments
Open

Unable to download framework #4

holyman2k opened this issue May 23, 2023 · 0 comments

Comments

@holyman2k
Copy link

holyman2k commented May 23, 2023

I got the following error from following the instruction to install PDFTron ios framework via the swift package manager. This may possibly cause by the domain redirect

failed downloading 'https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip' which is required by binary target 'PDFNet': downloadError("Error Domain=NSURLErrorDomain Code=-1202 \"The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.pdftron.com” which could put your confidential information at risk.\" UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(\n \"<cert(0x11788a000) s: *.pdftron.com i: Sectigo RSA Organization Validation Secure Server CA>\",\n \"<cert(0x11788f000) s: Sectigo RSA Organization Validation Secure Server CA i: USERTrust RSA Certification Authority>\",\n \"<cert(0x1179e3800) s: USERTrust RSA Certification Authority i: AAA Certificate Services>\"\n), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip, NSErrorFailingURLStringKey=https://www.pdftron.com/downloads/ios/packages/10.1.0-81991/PDFNet.xcframework.zip, NSUnderlyingError=0x60006b704600 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 \"(null)\" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x600000c4e760>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9814, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9814, kCFStreamPropertySSLPeerCertificates=(\n \"<cert(0x11788a000) s: *.pdftron.com i: Sectigo RSA Organization Validation Secure Server CA>\",\n \"<cert(0x11788f000) s: Sectigo RSA Organization Validation Secure Server CA i: USERTrust RSA Certification Authority>\",\n \"<cert(0x1179e3800) s: USERTrust RSA Certification Authority i: AAA Certificate Services>\"\n)}}, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n \"LocalDownloadTask <60EDD92F-DCB7-4E46-9F71-1C2CB3D44A65>.<31>\"\n), _kCFStreamErrorCodeKey=-9814, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <60EDD92F-DCB7-4E46-9F71-1C2CB3D44A65>.<31>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x600000c4e760>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.pdftron.com” which could put your confidential information at risk.}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant