-
Notifications
You must be signed in to change notification settings - Fork 55
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
electrum: fail to connect to a server w/ a self-signed certificate #1300
Comments
As per what we were saying in the chat, we should be able to do it after the bump of BDK version (https://github.com/wizardsardine/liana-backend/pull/233). Let's also remember to edit back the error message we are going to insert with #1342 |
i'm really not sure upgrading bdk solve our issue, the issue seems related to |
You don't need electrum-client = { version = "0.21.0", features = ["use-openssl", "proxy"] } |
@pythcoiner I have a candidate fix in bitcoindevkit/rust-electrum-client#150 in case you'd like to take a look. |
i'll review it |
we actually fails to connect (in ssl) to an electrum server that have a self-signed certificate, in order to allow it we should have a look to few points:
validate_domain
tofalse
but not works as intended if electrum_client is used w/ defaultuse-rusttls
feauture. It works fine w/use-openssl
feature btw.( i've opened an issue about this disrepancy in bdk repo)
bdk_electrum
crate does not offeruse-openssl
feature:bdk_electrum
Cargo.toml
:The text was updated successfully, but these errors were encountered: