iT邦幫忙

0

Google API 登入問題

我使用第三方登入,今天卻出現下面的錯誤訊息,之前完全沒看過,有大大可以解答嗎?

Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in D:\website\htdocs\google\GoogleAPI2.2.0\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187 Stack trace: #0 D:\website\htdocs\google\GoogleAPI2.2.0\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 D:\website\htdocs\google\GoogleAPI2.2.0\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 D:\website\htdocs\google\GoogleAPI2.2.0\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:\we in D:\website\htdocs\google\GoogleAPI2.2.0\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187
咖冰拉 iT邦新手 4 級 ‧ 2019-09-16 11:19:43 檢舉
你的網站是不是沒使用SSL?
它有提供錯誤查詢
https://curl.haxx.se/libcurl/c/libcurl-errors.html
ccutmis iT邦高手 9 級 ‧ 2019-09-16 11:26:31 檢舉
google搜的
https://stackoverflow.com/questions/35638497/curl-error-60-ssl-certificate-prblm-unable-to-get-local-issuer-certificate
cheer0101 iT邦新手 5 級 ‧ 2019-09-16 11:37:34 檢舉
之前都是用localhost模擬而已,都沒有問題...

1 個回答

0
阿瑜
iT邦新手 4 級 ‧ 2019-10-02 01:25:18

我有用 firebase + js 實作過 Google 第三方登入。
可以參考這篇 : Day 27 : Firebase FB/Google Login

不知道有沒有回答到你的問題 /images/emoticon/emoticon25.gif

我要發表回答

立即登入回答