doxrxwn2252 2017-08-29 14:31
浏览 109

Drupal 8 curl 60错误

I can't update drupal 8 modules on local because I have the error message

"Failed to fetch file due to error "cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"

I use Wamp 3 and php 7.0.10. I have tried the solution indicates for this problem :

  • Download cacert.pem on curl site and save in "c:\windows"
  • Set curl.cainfo = "c:\Windows\cacert.pem" and openssl.cafile= "c:\Windows\cacert.pem" on C:\wamp64\bin\php\php7.0.10\php.ini and C:\wamp64\bin\apache\apache2.4.23\bin\php.ini (.simlink)
  • Restart all services

The problem is still there.

I have tested many advices on forum : - Put the cacert.pem in wamp directories and changes paths in 2 php.ini - Test with other php versions ...

For information Curl is well enabled. I've checked it with phpinfo().

   curl
cURL support    enabled
cURL Information    7.50.1
Age     3
Features
AsynchDNS   Yes
CharConv    No
Debug   No
GSS-Negotiate   No
IDN     Yes
IPv6    Yes
krb4    No
Largefile   Yes
libz    Yes
NTLM    Yes
NTLMWB  No
SPNEGO  Yes
SSL     Yes
SSPI    Yes
TLS-SRP     No
HTTP2   No
GSSAPI  No
KERBEROS5   Yes
UNIX_SOCKETS    No
PSL     No
Protocols   dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Host    x86_64-pc-win32
SSL Version     OpenSSL/1.0.2h
ZLib Version    1.2.8
libSSH Version  libssh2/1.7.0

What is wrong ?

Since many days I test but nothing works.

Thanks in advance for your help.

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 虚拟机打包apk出现错误
  • ¥30 最小化遗憾贪心算法上界
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 逻辑谓词和消解原理的运用
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝