Skip to content

[QUESTION] Ignore self signed certificate errors #12

@psociety

Description

@psociety

ty for creating prism relay!!!

When working against a local https mcp server i get the famous:
60: SSL certificate problem: self signed certificate in certificate chain error.

I server has http to https redirect, so can't point it to http.

Is there any way to tell prism relay to ignore SSL related errors?

https://www.php.net/manual/en/context.ssl.php#allow_self_signed

I usually do this in local:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

but i don't see how i can apply it here :(
Seem it would be like this:

withoutVerifying()
->withOptions(["verify"=>false])

( https://stackoverflow.com/questions/68072879/how-to-disable-ssl-check-with-laravel-http-post )

but there's no option to set options

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