Skip to content

Allow spin to trust system root CA #3422

@rajsite

Description

@rajsite

When I run spin on my IT-managed Windows machine I get the following error from a JCO-based WASM component that makes an outbound HTTP request:

[spin-local-start] 2026-03-05T22:23:00.603340Z  WARN spin_factor_outbound_http::wasi: tls protocol error: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) }
[spin-local-start] (new TypeError("NetworkError when attempting to fetch resource", ""))

My hunch is that the IT configuration requires using the system root CA for HTTP requests where I saw similar issues in Servo that were addressed by using rustls-platform-verifier in: servo/servo#40935

If you still see a bug or problem, please let us know:

  • Spin version (spin --version)
    spin 3.6.2 (c0fc970 2026-02-25)
    
  • Installed plugin versions (spin plugins list --installed)
    No plugins found
    

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