简体   繁体   English

Ssl证书错误:无法在magento 2中获取本地颁发者证书

[英]Ssl certificate error: unable to get local issuer certificate on wamp in magento 2

I'm getting SSL certificate problems: unable to get local issuer certificate error when connecting to Magento marketplace using WAMP. 我收到SSL证书问题:使用WAMP连接到Magento市场时unable to get local issuer certificate错误。 Please tell me how to fix it. 请告诉我如何解决它。

thanks it fixed 谢谢你修好了

I downloaded the .pem file https://curl.haxx.se/ca/cacert.pem and then input this line in php.ini: 我下载了.pem文件https://curl.haxx.se/ca/cacert.pem ,然后在php.ini中输入这一行:

{curl.cainfo=/path/to/downloaded/cacert.pem} {curl.cainfo = /路径/到/下载/ cacert.pem}

In /setup/src/Magento/Setup/Model/MarketplaceManager.php 在/setup/src/Magento/Setup/Model/MarketplaceManager.php中

change this: protected $urlPrefix = 'https://'; 改变这个:protected $ urlPrefix ='https://'; into protected $urlPrefix = 'http://'; into protected $ urlPrefix ='http://';

This is really a modification of a core file, so avoid this method if you can solve the problem with a certificate. 这实际上是对核心文件的修改,因此如果您可以使用证书解决问题,请避免使用此方法。

Update: In 2.1.x the file to edit is /setup/src/Magento/Setup/Model/PackagesAuth.php 更新:在2.1.x中,要编辑的文件是/setup/src/Magento/Setup/Model/PackagesAuth.php

It seems that there's no certification information available on your windows system. 似乎您的Windows系统上没有可用的认证信息。 This answer might solve the issue you experienced: 这个答案可能会解决您遇到的问题:

curl: (60) SSL certificate : unable to get local issuer certificate curl:(60)SSL证书:无法获得本地颁发者证书

暂无
暂无

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

相关问题 PHP CURL WAMP-SSL证书错误:无法获取本地颁发者证书 - PHP CURL WAMP - SSL certificate error: unable to get local issuer certificate Wordpress Cron错误“SSL证书:无法获得本地颁发者证书” - Wordpress Cron Error “SSL certificate: unable to get local issuer certificate” SSL证书错误无法获取本地颁发者证书 - SSL certificate error unable to get local issuer certificate cURL 错误 60:SSL 证书:无法获取本地颁发者证书 - cURL error 60: SSL certificate: unable to get local issuer certificate PHP - SSL 证书错误:无法获取本地颁发者证书 - PHP - SSL certificate error: unable to get local issuer certificate 在Wamp本地工作时如何摆脱Payum“ SSL证书问题:无法获取本地发行者证书”错误 - How to get rid of payum “SSL certificate problem: unable to get local issuer certificate” error while working locally with wamp magento SSL证书颁发:无法获取本地颁发者证书商业证书 - magento SSL certificate issue: unable to get local issuer certificate commercial certificate cURL 错误 60 - SSL 证书问题 - 无法获取本地颁发者 - cURL error 60 - SSL certificate problem - unable to get local issuer Laravel中的AWL SSL错误:无法获取本地颁发者证书 - AWL SSL error in Laravel : unable to get local issuer certificate Curl err(60)SSL证书:无法获取本地颁发者证书 - Curl err (60) SSL certificate: unable to get local issuer certificate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM