Skip to content

Allow passing a custom rustls ClientConfig #211

Description

@praveenperera

electrum-client currently creates its own rustls::ClientConfig for ssl:// connections using webpki_roots. The public Config API doesn’t seem to let callers provide their own ClientConfig or certificate verifier.

This is a problem for mobile apps that want to use native OS certificate validation, for example via rustls-platform-verifier on Android/iOS. In Cove, this would help fix UnknownIssuer errors for certs trusted by the platform store. Related issue in cove: bitcoinppl/cove#776

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionThere's still a discussion ongoingnew featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions