furkankadioglu / efatura

eArşiv üzerinden Fatura Oluşturucu
https://furkankadioglu.github.io/efatura/
MIT License
364 stars 117 forks source link

ssl hatası #66

Open hadiozkan opened 2 years ago

hadiozkan commented 2 years ago
( ! ) Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://earsivportaltest.efatura.gov.tr/earsiv-services/esign in C:\wamp64\www\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 211 -- 1 | 0.0012 | 408520 | {main}( ) | ...\index.php:0 2 | 0.0066 | 440760 | furkankadioglu\eFatura\InvoiceManager->setTestCredentials( ) | ...\index.php:19 3 | 0.0066 | 440856 | GuzzleHttp\Client->post( ) | ...\InvoiceManager.php:181 4 | 0.0066 | 440856 | GuzzleHttp\Client->request( ) | ...\ClientTrait.php:95 5 | 0.1025 | 629200 | GuzzleHttp\Promise\RejectedPromise->wait( ) | ...\Client.php:187

bu şekilde hata alıyorum yardımcı olurmusun

hadiozkan commented 2 years ago

localde çözdüm çalışıyor localde php ini içinde curl.cainfo ="C:\wamp64\bin\php\cacert-2021-10-26.pem" yapınca çalışıyor

ama hosting firmasında bu işlemi yapamam

nasıl bir yol izlemeliyim

lenn-mark commented 2 years ago

InvoiceManager.php satır 121'e "verify" => false, ekleyerek çalıştırabildim. ama çözüm bu mudur bilemiyorum.