top of page
stosonqouisortosan

Laravel €? CURL Error 60: SSL Certificate Problem: Unable To Get Local Issuer Certificate



Tried to export that certificate, added it to the path of the php.ini. Did not work.Checked the IIS Authentication and Anonymous Authentication is enabled. Did not work either.Not sure what else is missing on curl config or the certificate. the same code worked fine in another server with linux. So the code works, the issue is some config in the server environment.Have a good weekend too.Thanks Martin.


So recently been working to test migrating a development project over to Statamic 2 and ran into this error CP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate I spent a decent amount of time trying to track down a solution and figured I'd create a post here in case anyone else has run into it too. I do a lot of my development on Windows which can def be a pain in tha "a" so hopefully this helps another developer.




Laravel – CURL Error 60: SSL Certificate Problem: Unable To Get Local Issuer Certificate



My project is on Laravel 5.7 and I am trying to use my created APIs from Postman. Everything is working fine when I use my custom localhost name like (without SSL) but when I use (with SSL) then Postman return " SSL Error: Self signed certificate Disable SSL Verification" as I have turned on SSL Certificate Verification in > Setting > General.


In this article, we see how to fix the cURL error 60 SSL certificate problem. cURL error 60: SSL certificate problem: unable to get local issuer certificate error occurs when we try to call the API with the secure https:// protocol in the request URL.


Here the key error is in the 5th line, that starts with: SSL certificate problem. In this example the cause of the problem is that PHP is unable to get local issuer certificate, which is caused by a misconfiguration of the SSL certificate on your server.


So even if you have a valid certificate for your site for the SSL connection between the site and browser you can still have another, expired certificate on the server that's used when your site communicates with other websites. If you receive the 60SSL certificate problem: certificate has expired error that means the server's root certificate has expired, and the host needs to update that.


Now I am wondering what is the problem and how to connect to Amazon S3 bucket files and RDSdatabase without producing these curl cannot get local issuer certificate problems from my Windows 8 local host.


PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see libcurl - Error Codes) in D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:201Stack trace:#0 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)#1 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))#2 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))#3 D:\wamp64\www\ojs33\lib\pkp\lib\vend in D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201[22-Oct-2021 16:06:00 Asia/Kolkata] PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see libcurl - Error Codes) in D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:201Stack trace:#0 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)#1 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))#2 D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))#3 D:\wamp64\www\ojs33\lib\pkp\lib\vend in D:\wamp64\www\ojs33\lib\pkp\lib\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201


سلاممن پکیجFamdirksen / laravel-google-indexingرو دانلود کردم و این ارور رو میگیرم از php 7.3.5 استفاده میکنم و به صورت دستی این کار رو کردم -error-60-ssl-certificate-in-laravel-5-4ولی بازم این ارور رو میده


In this example we see how to fix cURL error 60 SSL certificate problem. cURL error 60: SSL certificate problem: unable to get local issuer certificate error occurs when we try to call the API with the secure protocol in the request URL.


Fatal error: Uncaught BraintreeHttp\IOException: SSL certificate problem: unable to get local issuer certificate in C:\wamp64\www\site\vendor\braintree\braintreehttp\lib\BraintreeHttp\HttpClient.php on line 167 2ff7e9595c


0 views0 comments

Recent Posts

See All

Baixar 30 juz muzammil

Como Baixar 30 Juz Muzammil Se você está procurando uma maneira de baixar 30 Juz Muzammil, uma bela e reconfortante recitação do Alcorão...

Comments


bottom of page