繁体   English   中英

Drupal 8 curl 60错误

[英]Drupal 8 curl 60 error

我无法在本地更新drupal 8模块,因为出现错误消息

“由于错误“ cURL错误60:SSL证书问题:证书链中的自签名证书而无法获取文件(请参阅http://curl.haxx.se/libcurl/c/libcurl-errors.html )””

我使用Wamp 3和php 7.0.10。 我已经尝试过解决方案指示此问题:

  • 在curl网站上下载cacert.pem并保存在“ c:\\ windows”中
  • C:\\wamp64\\bin\\php\\php7.0.10\\php.iniC:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\php.ini设置curl.cainfo = "c:\\Windows\\cacert.pem"openssl.cafile= "c:\\Windows\\cacert.pem" C:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\php.ini (.simlink)
  • 重新启动所有服务

问题仍然存在。

我已经在论坛上测试了许多建议:-将cacert.pem放在wamp目录中,并在2 php.ini中更改路径-使用其他php版本进行测试...

有关信息,Curl已启用。 我已经用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

怎么了 ?

由于很多天我都在测试,但没有任何效果。

在此先感谢您的帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM