Reach wss:// gateways: TLS in the gateway client
The gateway client was built without TLS, so every wss:// gateway, the setup docs/gateway-admin.md recommends and what a _tsgws._tcp record names, failed with "TLS support not compiled in". tokio-tungstenite now uses rustls with the system's certificates; rustls and its crates were in the tree already (reqwest), so nothing new is downloaded. Checked end to end against the TeamSpeak 6 dev server: tsgw behind a TLS terminator with a certificate from a throwaway CA, the login over wss:// works when the CA is trusted (SSL_CERT_FILE) and is refused with UnknownIssuer when it is not. Android has no system store to read, so wss:// stays out of reach there; the docs say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
599c55fda6
commit
559ec01fee
3 files changed
+14
-2
No files matched your search
Generated
+6
@@ -8638,7 +8638,11 @@ checksum = "17a073bfed563fa236697a068031408a93cd9522e08abf9933ead3e73411bd71"
|
||||
dependencies = [
|
||||
"futures-util",
|
||||
"log",
|
||||
"rustls",
|
||||
"rustls-native-certs",
|
||||
"rustls-pki-types",
|
||||
"tokio",
|
||||
"tokio-rustls",
|
||||
"tungstenite 0.30.0",
|
||||
]
|
||||
|
||||
@@ -9188,6 +9192,8 @@ dependencies = [
|
||||
"httparse",
|
||||
"log",
|
||||
"rand 0.10.3",
|
||||
"rustls",
|
||||
"rustls-pki-types",
|
||||
"sha1 0.11.0",
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user