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

windows端,使用GmsslV2编译curl-gm,TLCP握手失败 #1766

Closed
Stonezz879zz opened this issue Nov 21, 2024 · 1 comment
Closed

windows端,使用GmsslV2编译curl-gm,TLCP握手失败 #1766

Stonezz879zz opened this issue Nov 21, 2024 · 1 comment

Comments

@Stonezz879zz
Copy link

您好,我在使用gmsslV2编译curl-gm后(两个项目的代码都没有改动过),测试与国密服务器的https通信,使用发布的gmcurl工具可以正常通信,但是编译出的工具,以及使用生成的dll编写的应用程序都在握手阶段报错,抓包对比,发送Client Hello时,包里缺少Extension,推测是缺少SNI Extension导致的。curl-gm代码中最终是走了gmssl的GMTLS_client_method接口,通过对比GMSSL中的gmtls_client_method与tlsv1_2_client_method,未能找到问题出现的原因,请问下一步我应该往哪个方向排查呢?希望可以给一个排查建议,非常感谢
image
image
image
image

@Stonezz879zz
Copy link
Author

更换测试网站发现握手成功,推测是之前测试的服务器配置了SNI Extension认证相关的,所以导致了握手失败

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