openssl unable to get local issuer certificate
时间: 2023-08-25 15:11:45 浏览: 250
回答: 当openssl出现"unable to get local issuer certificate"的错误时,通常是由于缺少本地颁发机构(CA)证书导致的。这个错误表示openssl无法验证服务器证书的颁发机构。一个解决方法是手动安装缺少的CA证书。你可以参考中提到的Composer的问题,它也是由于缺少CA证书导致的。另外,你也可以通过比较线上环境的openssl版本与本地服务器的openssl版本来找出问题所在,如所提到的。确保两个环境的openssl版本一致并且都包含了必要的CA证书。如果需要,你可以从可信任的证书提供商处获取并安装缺少的CA证书。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [pip安装包报错unable to get local issuer certificate](https://blog.csdn.net/qq_33542154/article/details/123824774)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [Composer出现 SSL certificate problem: unable to get local issuer certificate 报错的解决方法](https://blog.csdn.net/ioriliao/article/details/128256768)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)](https://blog.csdn.net/yunxiaobaobei/article/details/125608720)[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^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文