0 votes

We had installed SSL certificates in my Drupal project in AWS server, the website works fine with https. In this site we had configured our custom wallee module which is using Drupal Wallee SDK for payment transaction related functions. But while trying to initiate a new payment transaction below SSL certificate problem is triggering.

error setting certificate verify locations: CAfile: /var/www/html/walle/vendor/wallee/sdk/lib/ca-bundle.crt CApath: none

As per our understanding the SSL certificates are not getting verified before establishing Curl connection to Wallee transaction API.

The code where the error is triggering is in /vendor/wallee/sdk/lib/Http/CurlHttpClient.php line no 56

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($curl, CURLOPT_CAINFO, $apiClient->getCertificateAuthority());

About my test server environment : I am using AWS free tier server, PHP 7.3, Drupal 8 and wallee sdk 1.2 versions.

Our custom wallee module is an extension which adds wallee payment gateway to "Drupal Commerce" Module. The link to our custom module is https://www.webshopextension.com/en/drupal-wallee

We had tried different solutions from google, but no hope. We can't identify what is causing the issue. Did anyone face same issue, please help.

asked by DIBIN DEVASSY (120 points)

2 Answers

0 votes

Dear Dibin

Thank you for your request.

I would have to check this case internally and will get back to you as soon as possible.


answered by Fabio MARCASSA (420 points)
0 votes

Hi Dibin

Thank you for your inquiry.

The problem is very likely that the certificates in this wallee SDK are already outdated. We have exchanged them some time ago.

Could you please quickly update the SDK and check if the issue still appears?

I hope this helps resolving your issue.

Please let us know if the issue remains.

Kind regards

answered by Patricius THUINER (1.4k points)