-
Notifications
You must be signed in to change notification settings - Fork 45
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
cURL error 77: error setting certificate verify locations #120
Comments
Hi @rodvina! This seems to me a server configuration issue as you have also realized. My skills with configuring LA/EMP servers on Windows have been faded a little bit in the couple of yours but I'll try to help.
If you still can not solve this issue you could try to setup a site by using Lando, here is a detailed guide about how you can do that: https://docs.apigee.com/api-platform/publish/drupal/open-source-drupal-8 |
Hi @mxr576, Thanks for the reply. I am actually using lando. So I am actually using my own php.ini file as defined in the .lando.yml file. The error message changes with whatever value I specify for curl.cainfo. I've tried various other path locations with no luck. I've also tried it on my MAC OSX and get the same error. Is there, perhaps some other php.ini setting that I may be missing? |
If you are using Lando, the path you set in the It could be this reported Lando issue #1247 if you are not modifying the curl.cainfo setting. You can verify you are running RC1 by using |
It is a self-signed cert that I need to supply. It sounds like I need to place the pem file in a location within the docker container and supply that path for curl.cainfo? If so, how is this accomplished? |
It looks like the default CApath is set to /etc/ssl/certs on that lando appserver. Try |
That worked, thanks @cnovak ! Now, I'm getting
when clicking My Apps after I created a user. Does CPS have to be enabled in order to use this drupal 8 module? |
Great, I am closing this issue, opened #123 for the CPS issue. |
Actual Behavior
The following error occurs when testing the connection to our Apigee Edge from my local windows 10 env.
Failed to connect to Apigee Edge. Check the debug information below for more details. Error message: cURL error 77: error setting certificate verify locations: CAfile: C:/certs/apigeemgtui.dev.testinternal.site.pem CApath: /etc/ssl/certs (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Expected Behavior
Expecting Connection Successful message.
Steps to Reproduce the behavior
Added this entry to my php.ini file:
curl.cainfo = "c:/certs/apigeemgtui.dev.testinternal.site.pem"
Navigated to Configuration | Apigee Edge | General to specify connection settings.
Clicked on Test Connection | Send Request.
The error occurs.
Proposed Solution
If you have already ideas how to solve the issue please describe it here.
(Remove this section if it is not needed.)
The text was updated successfully, but these errors were encountered: