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 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题