国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

解決 cURL error 60: SSL certificate problem: unable to get local issuer certificate

這篇具有很好參考價值的文章主要介紹了解決 cURL error 60: SSL certificate problem: unable to get local issuer certificate。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

異常拋出 cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

報錯原因:因為沒有配置信任的服務(wù)器HTTPS驗證。默認情況下,cURL被設(shè)為不信任任何CAs,因此瀏覽器無法通過HTTPs訪問你服務(wù)器。?

解決方式

1.下載證書

解決 cURL error 60: SSL certificate problem: unable to get local issuer certificate,SSL,ssl,服務(wù)器,linux

2.下載后放入PHP擴展文件中

?解決 cURL error 60: SSL certificate problem: unable to get local issuer certificate,SSL,ssl,服務(wù)器,linux

?3.修改php.ini文件,去掉注釋、加上路徑

4.openssl這個擴展加入/開啟(不用開啟也可以,可以跳過這一步)

extension = php_poenssl.dll

5.重啟環(huán)境生效文章來源地址http://www.zghlxwxcb.cn/news/detail-731323.html

到了這里,關(guān)于解決 cURL error 60: SSL certificate problem: unable to get local issuer certificate的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 已解決unable to access ‘https://github.com/**‘: SSL certificate problem: unable to get

    錯誤:unable to access \\\'https://github.com/\\\': SSL certificate problem: unable to get local issuer certificate 這個問題是由于沒有配置信任的服務(wù)器HTTPS驗證。默認,curl被設(shè)為不信任任何CAS,就是說,它不信任任何服務(wù)器驗證。 只需要執(zhí)行下面命令就可以解決: ?

    2024年03月19日
    瀏覽(88)
  • Composer出現(xiàn) SSL certificate problem: unable to get local issuer certificate 報錯的解決方法

    Composer出現(xiàn) SSL certificate problem: unable to get local issuer certificate 報錯的解決方法

    Composer出現(xiàn)crul SSL報錯的問題是沒有安裝CA證書導致的?。?! 錯誤信息如下: [ComposerDownloaderTransportException] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? curl error 60 while downloading https://repo.packagist.org/package

    2024年02月03日
    瀏覽(122)
  • Git SSL certificate problem: unable to get local issuer certificate

    錯誤: ?? ?Push failed ?? ??? ??? ?Unable to access \\\'https://github.com/ttsin/gitTest.git/\\\': SSL certificate problem: unable to get local issuer certificate 你在遠程訪問GitHub時,出現(xiàn) 這個錯誤通常表示Git無法驗證GitHub的SSL證書,因為缺少本地頒發(fā)機構(gòu)(CA)的根證書。 方法一: 1. 更新Git的CA證書:

    2024年02月14日
    瀏覽(73)
  • curl: (60) SSL certificate problem: self-signed certificate in certificate chain解決

    curl: (60) SSL certificate problem: self-signed certificate in certificate chain解決

    從本地電腦上使用curl請求后端服務(wù)器api的時候報下面錯誤: 導致錯誤的原因: 默認情況下,curl 會嘗試根據(jù)系統(tǒng)上安裝的默認CA驗證 SSL 證書, 但是我們的server上的證書是在內(nèi)網(wǎng)的CA申請的,本地電腦上沒有相應(yīng)根證書,所以驗證失敗。 解決方案: 使用 curl -k , 跳過證書驗證,

    2024年02月03日
    瀏覽(51)
  • Git Clone 報錯 `SSL certificate problem: unable to get local issuer certificate`

    Git Clone 報錯 `SSL certificate problem: unable to get local issuer certificate`

    如果您在嘗試克隆Git存儲庫時得到 “SSL certificate problem: unable to get local issuer certificate” 的錯誤,這意味著Git無法驗證遠程存儲庫的SSL證書。如果SSL證書是自簽名的,或者SSL證書鏈有問題,就會發(fā)生這種情況。 想要修復這個錯誤,可以嘗試以下解決方案: 一、 禁用SSL驗證: 一般

    2024年02月07日
    瀏覽(113)
  • 【unable to access ‘https://github.com/用戶名/倉庫名.git/‘: SSL certificate problem 解決的問題】

    翻譯過來就是Fisheye/Crucible服務(wù)器不能識別git的SSL證書,所以操作停止執(zhí)行 執(zhí)行下面命令即可: git config --global http.sslVerify false

    2024年02月15日
    瀏覽(26)
  • 解決cURL error 60: SSL: no alternative certificate subject name matches target host name ‘test.com‘

    解決cURL error 60: SSL: no alternative certificate subject name matches target host name ‘test.com‘

    ?按照提示前往libcurl - Error Codes說是SSL 證書問題 ?解決方法: 1.前往該路徑 下載https://curl.se/ca/cacert.pem? 將文件里的內(nèi)容全部復制下來,然后替換 上圖路徑的/ca-bundle.crt ? 里面的內(nèi)容保存即可 若行不通可以嘗試第二種方法 2.在執(zhí)行curl操作前在前面加上如下代碼

    2024年02月12日
    瀏覽(24)
  • 如何解決 fatal: unable to access ‘https://github.com/Geekwaner/vue3-.git/‘: SSL certificate problem: una

    這個錯誤通常表示 SSL 證書有問題,導致無法訪問 HTTPS 的遠程倉庫。解決這個問題有幾種方法: 使用 SSH 協(xié)議而非 HTTPS 協(xié)議克隆倉庫: 這種方式需要先將 SSH Key 添加到 GitHub 賬戶中。 忽略 SSL 證書驗證問題(不推薦): 這種方式會跳過 SSL 證書的驗證,存在一定的風險,不建

    2024年02月04日
    瀏覽(37)
  • [postman] SSL Error: Unable to verify the first certificate(已解決)

    [postman] SSL Error: Unable to verify the first certificate(已解決)

    記錄一次解決的由ssl證書帶來的問題,以及解決歷程。 問題的產(chǎn)生的原因是這樣的,客戶想給項目遷移服務(wù)器。也是按照之前服務(wù)器的配置方式,tomcat、jdk、nginx、maven等等也是用過 scp命令進行同步的,因為用scp命令能保證 文件的權(quán)限也不會變。客戶這面也提供了 https的ss

    2024年02月12日
    瀏覽(110)
  • git unable to get local issuer certificate (_ssl.c:1007)>

    這個錯誤通常是由于Git無法驗證SSL證書導致的。您可以嘗試以下方法解決此問題: 確認您的計算機上是否安裝了正確的SSL證書。如果沒有,請下載并安裝它們。 您可以使用以下命令在Mac上安裝SSL證書: 如果您已經(jīng)安裝了OpenSSL,可以使用以下命令將證書添加到Git的信任存儲中

    2024年02月13日
    瀏覽(50)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包