İ 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?
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With