Skip to content

feat(forge script): add flag to disable HTTPS certificate validation for RPC #11907

@mirokuratczyk

Description

@mirokuratczyk

Component

Forge

Describe the feature you would like

#10855, but for forge.

Currently, it is not possible to deploy contracts with forge script against an RPC endpoint or via an HTTP proxy that serves an untrusted certificate (e.g., self-signed, development, untrusted root CA, etc.).

I made an example change that will follow the foundry eth_rpc_accept_invalid_certs configuration across all requests mirokuratczyk@80db4b0. But, I imagine that's antithetical to how that should be done in the project and an implementation like what was done for cast would be preferable #10869.

I'm new to the project/rust and was having trouble threading insecure across forge script and the forked environment requests to make a proper implementation and thought it would be better to seek guidance first.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions