[GH-ISSUE #66] ssl hatası #48

Open
opened 2026-03-02 04:06:31 +03:00 by kerem · 2 comments
Owner

Originally created by @hadiozkan on GitHub (Jan 18, 2022).
Original GitHub issue: https://github.com/furkankadioglu/efatura/issues/66

<html>

( ! ) 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

</html>

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

Originally created by @hadiozkan on GitHub (Jan 18, 2022). Original GitHub issue: https://github.com/furkankadioglu/efatura/issues/66 <html> <body> <!--StartFragment--> ( ! ) 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 <!--EndFragment--> </body> </html> bu şekilde hata alıyorum yardımcı olurmusun
Author
Owner

@hadiozkan commented on GitHub (Jan 18, 2022):

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

<!-- gh-comment-id:1015791706 --> @hadiozkan commented on GitHub (Jan 18, 2022): 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
Author
Owner

@lenn-mark commented on GitHub (Mar 6, 2022):

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

<!-- gh-comment-id:1059925430 --> @lenn-mark commented on GitHub (Mar 6, 2022): InvoiceManager.php satır 121'e "verify" => false, ekleyerek çalıştırabildim. ama çözüm bu mudur bilemiyorum.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/efatura#48
No description provided.