Skip to content

tls-roots doesn't work on android or ios devices #1403

Closed
@stan-irl

Description

@stan-irl

Bug Report

Flagging this because I spent a few hours working out that this is a problem and other people will probably hit it. rustls-native-certs doesnt support android or iOS so you'll need to setup https://github.com/rustls/rustls-platform-verifier or enable feature tls-webpki-roots.

Version

0.9.2

Platform

  • ios
  • android

Crates

tonic

Description

Connecting to an AWS LB returns error: status: Unavailable, message: "error trying to connect: invalid peer certificate: UnknownIssuer"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions