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

🐛 修复证书过期后加速失效的问题 #3553

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Conversation

luojunyuan
Copy link
Contributor

原本的行为 (windows)

(测试请先确保关闭其他系统代理)

  1. 本地的证书过期后,点击启动加速会启动成功,但是测试会显示error,访问被加速的页面全部无法访问。此时停止加速,重新启动加速后,测试加速页面恢复正常。
  2. 如果程序已经第一次加速过了,在程序运行期间,证书过期,那么无论重新加速多少次永远会失效,此时必须重新启动主程序。
  3. 加速状态下,系统时间跨越证书到期时间,可以正常解析的加速页面全部无法访问了。

修正后,无论本地硬盘证书过期还是证书凌晨跨天执行,皆可以正常解析页面。

@luojunyuan
Copy link
Contributor Author

luojunyuan commented Nov 26, 2024

测试用过期证书 #3550 (comment)

于12月20日过期的测试用证书.zip

错误的复现步骤或修改后的测试验证步骤:(请先关闭系统代理)

  1. 启动 watt tools,打开网路加速-证书文件夹,将SteamTools.Certificate.invalid下的过期证书文件拷贝进去(覆盖)。点击一键加速,测试出现 error。
  2. 接步骤1,停止加速后,再次点击一键加速,此时解析正常。停止加速,再次拷贝过期证书文件,此时加速永远失效。只能重启应用。
  3. 重新启动 watt tools,将即将过期的证书文件拷贝到证书文件夹。将系统时间调整到 2024/12/19 23:59,此时点击一键加速,加速后页面可以正常解析,过了 24/12/20 00:00 后,加速失效。

@AigioL AigioL merged commit c3d9c45 into develop Nov 26, 2024
1 check passed
@luojunyuan luojunyuan deleted the fix_accelerator2 branch November 27, 2024 03:02
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

Successfully merging this pull request may close these issues.

2 participants