-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
SSL Seems overly complicated and broken. #316
Comments
Are you sure the 2nd example isn't just calling the wrong address? Try this: $guzzle = GuzzleAdapter::createWithConfig([
'verify' => '/var/www/laravel/storage/certs/UserTrust.pem',
]);
$gitlab = Gitlab\Client::createWithHttpClient($guzzle)
->setUrl('https://my.gitlab.server/')
->authenticate(config('gitlab.token'), Gitlab\Client::AUTH_URL_TOKEN); |
You are my hero!!!! Worked very first try XD |
@fusiondesign issue can be close ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following is from a Laravel project. For the life of me, I cannot get SSL working unless I bypass this wrapper and use Guzzle directly by accessing getHttpClient() from the Gitlab\Client scope.
I've traced every line of code due to the lack of documentation and I've managed to hunt down every class that I need to make this possible. I cannot find where the error is inside the code, but there definitely seems to be some issue here.
The text was updated successfully, but these errors were encountered: