Skip to content

Allow passing a custom rustls ClientConfig #211

@praveenperera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions