Skip to content

ChannelCredentials.secure certificate option documentation #456

Open
@matejkramny

Description

@matejkramny

I had an issue like some others have pointed out when connecting through a custom certificate trust store.
Using it resulted in a HandshakeException (CERTIFICATE_VERIFY_FAILED).

Digging through my local files leads me to security_context.dart within a sky_engine package (which doesn't seem to exist anywhere).
This flutter doc explains that using a PEM formatted certificate won't work on ios devices: setTrustedCertificates

It may be worth adding this to the documentation and assist with other similar issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions