I got an error as follow when I tried to clone a gitlab repository:
server certificate verification failed. CAfile: /etc/ssl/certs/cacertificates.crt CRLfile: none
I've found a solution or workaround for that issue from StackOverflow.
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I can push by clone project using ssh, but it doesn't work when I clone project with https. The error message that shows me is: server certificate verification failed. CAfile: /etc/ssl/certs/
stackoverflow.com
Make a long story short, you can configure the git to ignore the server certification if you are sure to trust the server. The methods are as below:
export GIT_SSL_NO_VERIFY=1
#or
git config --global http.sslverify false
'리눅스 & 안드로이드' 카테고리의 다른 글
Keeping CMake up to date on Ubuntu (0) | 2020.07.22 |
---|---|
Build AlexaAuto for Generic Linux (0) | 2020.03.01 |
Dual ABI (1) | 2018.08.13 |
Install openjdk-8-jdk on Ubuntu 14.04 LTS using only terminal(console) (0) | 2018.05.29 |
Android에서 NDK로 epoll 사용하기 (5) | 2016.01.22 |