Skip to content

Feature | Is there a way to bypass WebKits SSL check? #291

@AnnaSasDev

Description

@AnnaSasDev

Impact

Low

Problem / Motivation

Ignore-certificate toggle exists, but secure policy boundaries and platform-specific certificate override semantics are not documented as a migration scenario.

Current behavior

Relevant primitives exist in the files listed above, but this backlog item does not have a complete, explicit InfiniFrame contract with dedicated coverage.

Expected behavior

Define explicit API/behavior for this migration item, implement in managed + native layers where needed, and add focused tests/documentation.

Proposed solution

Implement this incrementally:

  1. Define/adjust the managed public API in InfiniFrame.Shared.
  2. Wire implementation in InfiniFrame and InfiniFrame.Native where required.
  3. Add focused tests (tests/InfiniFrameTests*) and docs updates (docs/docs/guides/*, docs/docs/migration/*).

Alternatives considered

  • Keep as unsupported and document migration limitation.
  • Provide a workaround-only approach without first-class API.

Use case

Applications migrating from Photino expect this behavior and currently need custom handling for "Is there a way to bypass WebKits SSL check?".

Example implementation (current API)

var window = InfiniFrameWindowBuilder.Create()
    // For controlled dev/test scenarios only
    .SetIgnoreCertificateErrorsEnabled(true)
    .SetStartUrl("https://localhost:5001")
    .Build();

window.WaitForClose();

Technical proposal

Scope implementation to: core managed runtime (src/InfiniFrame/*, src/InfiniFrame.Shared/*, src/InfiniFrame.Js/*). Keep behavior deterministic across Windows/Linux/macOS and document platform-specific limitations explicitly.

Additional context

Photino reference: tryphotino/photino.NET#65

Checklist

  • I searched existing issues
  • This is not a support question

Metadata

Metadata

Assignees

No one assigned

    Labels

    Photino BacklogItems that are hold overs from Photino that they either never resolved or implementedenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions