1. 复现错误
今天使用git clone xxx.git
项目时,却报出如下的错误信息:
即SSL certificate problem: self signed certificate in certificate chain
错误。
2. 分析错误
正赶上最近ChatGPT
比较火,可以借助它来分析错误,如下图所示:
This problem occurs when the SSL certificate presented by the server is not signed by a trusted certificate authority (CA). Instead, it is a self-signed certificate.
This can happen for a variety of reasons. For example, the website owner may have generated their own SSL certificate instead of purchasing one fr