Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass ignore SSL option to Guzzle #74

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dpi
Copy link

@dpi dpi commented Mar 7, 2023

Conditionally opt into customising Guzzle client, specifically allowing configurations to opt out of SSL certificate validation per https://docs.guzzlephp.org/en/stable/request-options.html#verify

For example when running Soketi with SSL, it seems to force it into only responding via SSL.

When accessed on a private network, the Soketi service may be accessed differently/without SSL/with a different hostname. So it may make sense to ignore whatever cert is returned by Soketi.

@dpi
Copy link
Author

dpi commented Mar 7, 2023

First iteration without documentation. Looking for direction on whether this is the right way to go.

@dpi dpi changed the title Pass Pass ignore SSL option to Guzzle Mar 7, 2023
@laupiFrpar
Copy link
Owner

@dpi Hello, I think that is the good way to start.

Maybe in the second time, we could configure the Guzzle client in the config. That is maybe a little complex to set in the configuration.

Thank you for your work!

Let me know when you finish this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants