Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git ssl without env GIT_SSL_NO_VERIFY=true

Tags:

git

ssl

netbeans

İ install my own git server in distant machine with ssl.

whene i use this command:

env GIT_SSL_NO_VERIFY=true git clone https://xxx.xxx.xxx.xxx/git/project.git

all is fine, and with env GIT_SSL_NO_VERIFY=true all git command work fine.

but i need pull and push with netbeans ide, so with netbeans ide i connot add this

env GIT_SSL_NO_VERIFY=true

so netbeans say:

Cannot connect to the remote repository at https://xxx.xxx.xxx.xxx/git/project.git

What i need to do?

like image 834
RaKoDev Avatar asked Sep 21 '12 20:09

RaKoDev


People also ask

How do I bypass SSL in git?

Prepend GIT_SSL_NO_VERIFY=true before every git command run to skip SSL verification. This is particularly useful if you haven't checked out the repository yet. Run git config http. sslVerify false to disable SSL verification if you're working with a checked out repository already.


1 Answers

You could do this (from the git-config manual page):

git config --global http.sslVerify false

But what's the point of having it on an https server if the certificate won't properly validate?

like image 113
mpontillo Avatar answered Sep 19 '22 09:09

mpontillo