sudo curl https://curl.haxx.se/ca/cacert.pem -o /usr/local/etc/openssl/certs/cacert.pem
时间: 2023-08-23 12:06:36 浏览: 229
nodejs安装及环境配置.md
根据引用和引用中提供的信息,执行以下命令可以将证书下载到指定路径:
```
sudo curl https://curl.haxx.se/ca/cacert.pem -o /usr/local/etc/openssl/certs/cacert.pem
```
该命令将从https://curl.haxx.se/ca/cacert.pem下载证书,并将其保存到/usr/local/etc/openssl/certs/cacert.pem路径下。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Connection to `ssl://pecl.php.net:443' failed: Operation timed out - when sudo pecl search mbstring](https://blog.csdn.net/qq285744011/article/details/103718879)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [PHP-Mac电脑安装Composer报错:SSL operation failed with code 1. OpenSSL Error messages](https://blog.csdn.net/ls519585292/article/details/125263437)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文