Skip to content

iOS and tvOS have no SSL CA chain #29

Closed

Description

@dimensionscape

_hx_ssl_cert_load_defaults returns nothing on iOS and tvOS, so TLS verification fails there (upstream HaxeFoundation/hxcpp#570).

Upstream PR: HaxeFoundation/hxcpp#1331. Before taking it: the verify callback clears every flag on a trusted leaf, including the hostname mismatch, and the SecPolicy has no hostname, so any OS-trusted certificate is accepted for any host. Also check the SecTrust results, pass the intermediates, and mind that SecTrustEvaluateWithError needs iOS 12.

Activity

  1. added 3 commits that reference this issue on Oct 15, 2026
    9e7f599
    0caefcb
    f55d96f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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