Skip to content

--tls flag just set the url scheme #39

Description

@bnjjj

When using --tls it just sets https on URL but it doesn't configure the TLS configuration properly. So it doesn't enable webpki nor root ca support. And we can't pass our custom certificates so I think this flag is kind of useless. You should enable https://docs.rs/tonic/latest/tonic/transport/channel/struct.ClientTlsConfig.html#method.with_native_roots and https://docs.rs/tonic/latest/tonic/transport/channel/struct.ClientTlsConfig.html#method.with_webpki_roots when creating your TLS configuration for tonic if the --tls flag is enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions