Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce + curl + Varilogix.com Fraudcall


XeSolutions

Recommended Posts

I downloaded the Varilogix.com Fraudcall script for oscommerce from algozone.com but am having a error and error has to do with curl unable to verify some CA Cert. I contacted Varilogix.com Tech Support and they said I have to find in the oscommerce settings where curl is set and add -k to the end of curl so

 

 

curl -k

 

 

but I cant find any setting anywhere.. anyone know where I find this?

Link to comment
Share on other sites

If it uses php/curl module you can disable the cert check

 

//Disable certificate check.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);

 

If you have windows server you can install ca-bundle.crt because it usually is not installed.

 

//Enable certificate check
//Download ca-bundle.crt from http://cvs.php.net/cvs.php/curl/lib/ca-bundle.crt
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, "c:/www/catalog/includes/ca-bundle.crt");

 

If you have linux server you can ask your host to update ca-bundle.crt

 

If it uses command line curl then look in the code where it builds the curl command and put -k to disable cert checking.

 

curl -k http://...................

 

Some more info here.

http://www.oscommerce.com/forums/index.php?showtopic=90086

Link to comment
Share on other sites

If it uses php/curl module you can disable the cert check

 

//Disable certificate check.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);

 

If you have windows server you can install ca-bundle.crt because it usually is not installed.

 

//Enable certificate check
//Download ca-bundle.crt from http://cvs.php.net/cvs.php/curl/lib/ca-bundle.crt
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, "c:/www/catalog/includes/ca-bundle.crt");

 

If you have linux server you can ask your host to update ca-bundle.crt

 

If it uses command line curl then look in the code where it builds the curl command and put -k to disable cert checking.

 

curl -k http://...................

 

Some more info here.

http://www.oscommerce.com/forums/index.php?showtopic=90086

 

 

I have already updated curl and the ca bundle but still not working... I can't edit any of the fraudcall module files because algozone.com has them encrypted.

 

Now these codes for "Disable certificate check" what file do I put this in?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...