-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
2.73-alpha版如何忽略https证书过期问题? #113
Comments
替换掉 requester 可实现忽略SSL错误。 创建一个类用来处理SSL错误(代码来自网络)
创建一个类,名为 MyOkHttpRequester,继承原本的类,重写方法,忽略SSL证书错误
在入口处替换,参考官方例子
我使用的版本
|
您好! 您的邮件已送到,我会及时答复,请耐心等待!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前用2.52版本可以爬取,改成2.73-alpha版后,报错提示sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target。(是改用okhttps后导致的??)
The text was updated successfully, but these errors were encountered: