本想整理一下之前的笔记写成文章发上来,但是新项目赶着上线,各种奇葩问题频出,也就暂时搁置了。好不容易写了抽空写了一篇居然发不上来,deploy
的时候老是提示SSL Exception
啥的,于是搜了一下解决方案,大多数都是说要加大git
的size
,其实和git
的size
无关,这是由于Github最近停用了TLS 1.0和v 1.1导致的。
我们停用TLSv1/TLSv1.1啦
以下是原文
1 | Last year we announced the deprecation of several weak cryptographic standards. Then we provided a status update toward the end of last year outlining some changes we’d made to make the transition easier for clients. We quickly approached the February 1, 2018 cutoff date we mentioned in previous posts and, as a result, pushed back our schedule by one week. On February 8, 2018 we’ll start disabling the following: |
如何解决?
- 下载安装最新的
Git Credential Manager for Windows
- 更新
Git
到最新的版本,至少要到v2.16.0
- 然后重启就可以了
Tips:
推荐将repository
改为HTTPS
形式的
v1.5.2