Skip to content

Conversation

@zuev98
Copy link

@zuev98 zuev98 commented Jan 30, 2026

Fix Android TLS crash in trustAllCerts mode by providing an androidMain HttpClient implementation based on Ktor OkHttp engine. This avoids the hostname-aware checkServerTrusted(...) exception.
On Android the previous JVM-based client configuration could crash with:
Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used.

@Piasy
Copy link
Member

Piasy commented Feb 1, 2026

Hi @zuev98 , thank you for your contribution!
Your changes introduce some CI issue, so I'll have another MR with your commit + fix.

@Piasy Piasy merged commit bba2c6b into HackWebRTC:main Feb 1, 2026
3 of 4 checks passed
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