-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
大神 为什么这个下载地址不能正常下载的 #437
Comments
这是https,默认是不支持的,不过你可以自己加入。可以这样处理:
|
这个就是接受所有的证书,就能过正常下载https的文件链接 |
原因我看你的错误信息应该是该域名的根证书不被信任。如果你的证书的根证书是不被信任的证书,你要绕过,完全可以自己实现FileDownloadConnection进行绕过。关于证书校验可以到这里 解决方案你可以定制自己的 |
FileDownloadUrlConnection 怎么设置 FileDownloadHelper.ConnectionCreator怎么传 |
您好, 带有忽略SSL验证的FileDownloadUrlConnection 传入到filedownload中, 没有生效, 是我写的不对吗 |
Can you please suggest what i need to change here to ignore self signed certificate ?
|
Can you please suggest what i need to change here to ignore self signed certificate ? FileDownloadLog.NEED_LOG=true; FileDownloader.setupOnApplicationOnCreate(this) .connectionCreator(new FileDownloadUrlConnection .Creator(new FileDownloadUrlConnection.Configuration () )) .commit(); +1 |
一直在说自己定制,却从来不说怎么定制,我就是想知道怎么定制 |
https://f.qr2c.cn/data/uploads/paper/2016/12/27/5861c2082ac92.zip
FileDownloader.FileDownloadMgr: can't continue 1159061853 file not suit, exists[FALSE], directory[FALSE]
FileDownloader.FileDownloadRunnable: On error 1159061853 javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
The text was updated successfully, but these errors were encountered: