-
Notifications
You must be signed in to change notification settings - Fork 302
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
What is the new correct way of disabling SSL verification post 6.0? #313
Comments
The library no longer supports the curl_options configuration, there is no way to achieve the same without reverting to v5 as you suggest. |
I and dozens of other people (as indicated by the dozen or so SSL-related recently opened issues that mention I understand that this is not your problem.. it's just unfortunate that this deprecation is affecting many. It seems like there is a solution as indicated by the manual edit of |
This is a real problem when just running and testing packages locally. I do understand the importance of signed/verified certificates, but on LAN this has little to no meaning, however sometimes you do need to test with SSL-enabled and just use a self-signed certificate. Can you please make this configurable again? Or can this be disabled globally? Using a fork is indeed not recommend @vesper8. |
This library is designed as a library for pushing events to the Pusher Channels service. When using this service there is no need to customise the SSL certificates. |
Any news on this? I understand it's not your task, but so many people would benefit from it. |
@Hillcow Are you using a framework? It works for me on Laravel 9 with a self-signed cert. |
@francoism90 I'm on Laravel 9 as well, yes. So what's your local setup without setting |
@Hillcow You need to set those options, it will not work without them. |
That is precisely the entire problem of this issue here, @francoism90. Because you cannot set those options after version 5.* of |
@Hillcow |
@francoism90 How? Did you set Did you use this solution? Was it actually merged in Laravel 9? Cannot find anything about it in the docs. |
@Hillcow soketi/soketi#191 (comment) Yeah, sorry.. I'm extending this. However, I no longer need this as I'm using Soketi over localhost (internal), and HTTPS using a nginx proxy to provide the socket publicly. |
Previously we were able to set
But since
curl_options
was removed in6.0
, what is now the current way of disabling SSL verification?I've found that if I edit
vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php
and add$options['verify'] = false;
to the__invoke
method it will do the trick.. but I can't figure out how to set this value through the Laravel configuration.I know this isn't a Laravel package but it's widely used in Laravel so am hoping someone can provide some insight. Is it even possible or is the only way to revert to
^5.0
?Thanks
The text was updated successfully, but these errors were encountered: