php-binance-api icon indicating copy to clipboard operation
php-binance-api copied to clipboard

Added CAinfo curl opt to find correct downloaded ca.pem

Open Olifant1990 opened this issue 4 years ago • 1 comments

Added CAinfo curl opt to find correct downloaded ca.pem

Solves issue https://github.com/jaggedsoft/php-binance-api/issues/328

Olifant1990 avatar Sep 02 '21 19:09 Olifant1990

Hi @Olifant1990, thanks for the addition. I had an issue in test because there was an existing ca.pem file but it was an extremely old one! I will try to see to modify your addition so it 1) saves the file in tmp and 2) it renews it from time to time (sys_get_temp_dir and filemtime)

ePascalC avatar Sep 23 '21 10:09 ePascalC