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

I cannot connect via SSL (GuzzleHttp\Client verify false) #668

Closed
glebsergeevich opened this issue Nov 1, 2021 · 1 comment
Closed

I cannot connect via SSL (GuzzleHttp\Client verify false) #668

glebsergeevich opened this issue Nov 1, 2021 · 1 comment

Comments

@glebsergeevich
Copy link

How can I disable http certificate validation?

Error:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

I need an example how to connect it to the Gitlab php class.

$client = new \GuzzleHttp\Client([ 'verify' => false, ]);

@GrahamCampbell
Copy link
Member

I don't want to encourage this and provide an easy example. Correct certificate handling is easy in 2021.

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

No branches or pull requests

2 participants