Bump Ktor to 3.4.0 to fix SSL on linuxArm64#221
Open
sbounmy wants to merge 1 commit intoACINQ:masterfrom
Open
Conversation
Ktor 3.3.0 ships a bundled libcurl for linuxArm64 that has no default CA certificate path compiled in, so every outgoing HTTPS request (e.g. webhook delivery) fails with "peer certificate cannot be authenticated with given CA certificates" / TLS verification failed. This is tracked upstream as KTOR-8339 and fixed in Ktor 3.4.0.
Member
|
Hello, this is a known limitation (I authored the Ktor issue that you linked ), for which we had a workaround in ACINQ/lightning-kmp#777. Did the workaround fail in your case? |
Author
|
yes it didn't work I had using phoenixd version |
Member
|
What OS are you using? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Ktor 3.3.0 ships a bundled libcurl for
linuxArm64that has no default CA certificate path compiled in. This means every outgoing HTTPS request (e.g. webhook delivery) fails with:TLS verification fails because libcurl cannot locate system CA certificates on ARM64 Linux hosts.
This is tracked upstream as KTOR-8339.
Fix
Bump Ktor from 3.3.0 to 3.4.0, which includes the fix for KTOR-8339.
Changes
gradle/libs.versions.toml:ktor = "3.3.0"→ktor = "3.4.0"