Skip to content

Fix IPv6 error caused by TLS configuration #4224

@ljoss17

Description

@ljoss17

Version

Hermes v1.10.3

Summary

When configuring TLS with IPv6 gRPC endpoint, https://github.com/informalsystems/hermes/blob/v1.10.3/crates/relayer/src/util.rs#L26, a transport error: InvalidDnsNameError will be thrown since the characters [ and ] are not parsed by rustls https://docs.rs/rustls-pki-types/1.10.0/src/rustls_pki_types/server_name.rs.html#326.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions