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

[BUG]TLS1.3下无法正确使用指定的密码套件 #1484

Closed
CC-3301 opened this issue Jan 4, 2023 · 4 comments
Closed

[BUG]TLS1.3下无法正确使用指定的密码套件 #1484

CC-3301 opened this issue Jan 4, 2023 · 4 comments

Comments

@CC-3301
Copy link

CC-3301 commented Jan 4, 2023

配置
"tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.3",
"cipherSuites": "TLS_CHACHA20_POLY1305_SHA256",
"certificates": [
{
"certificateFile": "path",
"keyFile": "path"
}
]
}
TLS1.3抓包
image
image

TLS1.2下则正常
"tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.2",
"maxVersion": "1.2",
"cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
"certificates": [
{
"certificateFile": "path",
"keyFile": "path"
}
]
}
TLS1.2抓包
image
image

@cross-hello
Copy link
Contributor

UTLS has changed ciphersuites of client, so it may be can't specify explicity.

@CC-3301
Copy link
Author

CC-3301 commented Jan 4, 2023

UTLS has changed ciphersuites of client, so it may be can't specify explicity.

Even if UTLS is not used, TLS1.3 cannot use the specified cipher suite
However, if TLS1.2 is used, the specified cipher suite works properly with or without UTLS

@cross-hello
Copy link
Contributor

Can you pose the cipher suites of server?

@yuhan6665
Copy link
Member

It is not supported by Go.
golang/go#29349 (comment)

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

3 participants