Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

SSL certificate problem: unable to get local issue

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, when cloning a library using git, the error is as follows:

Cloning to 'lepus'...fatal: unable to access' https://github.com/ruzuojun/lepus.git/': SSL certificate problem: unable to get local issuer certificate

I vaguely remember that I have encountered this kind of error before, but I forgot the solution, so I searched the Internet for a wave. When I found that it was a certificate problem accessed by https, I used the command to remove the verification of ssl directly, and the problem was solved.

Solution:

[root@monitor local] # git config-- global http.sslVerify false

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report