intellij disable ssl verification for git

What is the difference between 'git pull' and 'git fetch'? Why don't we consider drain-bulk voltage instead of source-bulk voltage in body effect? Removing the SSL verification disproves the whole concept of having SSL implemented. How can we create psychedelic experiences for healthy people without drugs? How do I undo the most recent local commits in Git? 3) How to stop tracking and ignore changes to a file in Git? Store the file temporarily somewhere & click Next & then Finish. git -c http.sslVerify=false clone <repository-name>. 01 September 2021, The SSL certificate verification error occurred when I tried to access git repositories over SSL and the server provides a self-signed certificate. (If you still use git < v1.8.5, run git config --global http.https://my.bad.server.sslVerify false). Click the SSH/SSL tab and select the Use SSL checkbox. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Is there a 3rd degree irreducible polynomial over Q[x], such that two of it's roots' (over C[x]) product equals the third root? having sourcetree on a windows virtual machine and placing the src folder in a UNC path in which built-in sorcetree terminal can't recognise! In Proxy host, Proxy user, and Port fields, specify connection details. I.e., In particular if you need recursive clone. If you configured SSL settings for one data source, you can copy them for another data source. Find centralized, trusted content and collaborate around the technologies you use most. Why in the world you are using sudo at all? and It is really helpful when you can't run git commands! please check if running the following 2 commands on TeamCity server machine resolves the problem: git config --system http.sslVerify false. Workaround. How do I remove local (untracked) files from the current Git working tree? UPDATE: Since this migt be a cery private case in the mean time i did sign up for a SSL certificate from Let's Encrypt (that's not an ad!!). Modified 2 years, 6 months ago. If you have to disable SSL checks for one git server hosting several repositories, you can run : This will add it to your user's configuration. Saving for retirement starting at 68 years old. Set verify_ssl to false Disable SSL verification in git via git config --global http.sslVerify false Ideally, we want to provide users: The ability to specify the certs to verify against If they disable SSL verification with verify_ssl, we run GIT_SSL_NO_VERIFY=true git clone XXX instead of setting it globally On the next window click Next on the Export Wizard. Alt+Insert. 2022 Moderator Election Q&A Question Collection, unable to access 'https://github.com/GladysProject/gladys/': Failed to connect to github.com port 443: no route to host, fatal: unable to access, schannel: failed to open CA file, No such process, GitHub Desktop, Git: http.sslVerify false global but only for specific remote, Setting the IP address of github as the origin url. Add your key to the agent (in the following example, the key path is ~/.ssh/id_rsa). Verify CA: verifies the server by checking the certificate chain up to the root certificate that is stored on the client. In the PuTTY Configuration dialog, navigate to Connection | SSH | Auth. In the Select Private Key File dialog, navigate to the private key file (the PPK file) and click Open. In the Client key file field, navigate to the client key file (for example, client-key.pem). Turn off Git SSL Verification. When runninggit clone, you see an error message like. in your specific repo to disable SSL certificate checking for that repo only. On Linux, if you call this inside the git repository folder: this will add sslVerify = false in the [http] section of the config file in the .git folder, which can also be the solution, if you want to add this manually with nano .git/config: for windows, if you want global config, then run. If you have Permission denied on .gitconfig there is something seriously ske*ed with your system. To save the password in IntelliJIDEA, select the Save password checkbox. Does a creature have to see to be affected by the Fear spell initially since it is an illusion? For TortoiseGit users, you can edit this section into the local config file by doing a context-specific Settings update and selecting the option to edit local only, Works for me. The config went well and now everything is running just fine. #2 Disable Git SSL verification in the server hosting Fisheye/Crucible with the following commands: This is an awesome question because I didn't even know you could prepend this environment variable before the git command and have it bypass the expired certificate error. It is recommended to use PEM certificates. Click the SSH/SSL tab and select the Use SSH tunnel checkbox. GIT_SSL_NO_VERIFY=true to the git clone command, example: Note that skipping SSL verification is a security risk , so the correct method of fixing this issue is appropriately updating the CA certificates (something like sudo apt install ca-certificates ) but this is sometimes not feasibel since not any outdated computer can be updated easily. How do I find and restore a deleted file in a Git repository? Scenario 2 - Vagrant Up - SSL certificate problem: self signed certificate in certificate chain. Explanation from the documentation where the command is at the end, show the To have IntelliJIDEA remember the passphrase, select the Save passphrase checkbox. Modified date: Search results are not available at this time. Secure Shell or SSH is a network protocol that is used to encrypt a connection between a client and a server. Accessibility to SSL certificate verification can also be set at the system level. IdentityFile ~/.ssh/id_rsa, Generating a new SSH key and adding it to the ssh-agent. Is MATLAB command "fourier" only applicable for continous-time signals or is it also applicable for discrete-time signals? Then, you can fill in https.sslVerify and false. 2022 Moderator Election Q&A Question Collection. Select a data source profile where you want to change connection settings. You can see configuration examples for Cassandra and Heroku Postgres in the DataGrip documentation. The following procedure describes the SSL configuration that suits most databases. How do I reset or revert a file to a specific revision? This is also discussed on this Microsoft blog. Disable SSL verification when accessing git server with a self-signed certificate in non-production environment. The only drawback is that you have to renew it every 90 days :) You can find the Pageant icon in the Windows taskbar. @ParthianShot if they are not the admin user how they can use this with out sudo? How to distinguish it-cleft and extraposition? In the Database tool window (View | Tool Windows | Database), click the Data Source Properties icon . How do you push a tag to a remote repository using Git? On Windows OS. No results were found for your search query. I can run git config --global http.sslverify false within the asset-files-api pod to disable SSL verification, but this setting is get reset when the pod restarted. Is it OK to check indirectly in a Bash if statement for exit codes if they are multiple? After you have configured the SSH settings, on the General tab, use the host address and the database port, not localhost. In the command line window, specify the username that you use for the SSH tunnel and press Enter. Bento theme by Satori. 2) git config -global http.sslVerify false. The SSL connection might fail if your Java keystore does not accept the certificate chains. @HolaSoyEduFelizNavidad, When the OP said "for all repo," the OP meant "all repos for this user," not "all repos on the computer.". Found footage movie where teens get superpowers after getting struck by lightning? If you do not want to share the configuration between projects, select the Visible only for this project checkbox. Ensure the root cert is added to git.exe's certificate store. I know that in Eclipse you can do that by going to Pageant is an SSH authentication agent for PuTTY, PSCP, PSFTP, and Plink. This has it's own security risks as you would not be warned if there was a valid problem with the server you are trying to connect to. They should be executed under the user who runs TeamCity server. Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. How can I make git accept a self signed certificate? To subscribe to this RSS feed, copy and paste this URL into your RSS reader. There is an easy way of configuring GIT to handle your server the right way. How to generate a horizontal histogram with words? 'It was Ben that found it' v 'It was clear that Ben found it', Horror story: only people who smoke could see some monsters. Site design / logo 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. On macOS Sierra and later, you need to create the config file in ~/.ssh/ with the following text: If you have other private keys in the .ssh directory, add an IdentityFile line for each key. Regex: Delete all lines before STRING, except one particular line. But I would also like to leave SSL enabled for other git repositories. I want to disable SSL verification when I import a project into Intellij using git. @TanveerBadar This is the proper way to clone a repository with SSL disabled, there is no need to disable SSL globally: "git -c http.sslVerify=false clone. For some databases, you need to use another approach for a successful connection. To make a connection to a database more secure, some services require SSH or SSL usage. Sorted by: 747. How do I delete a Git branch locally and remotely? https://stackoverflow.com/a/52706362/1806760, Making location easier for developers with new data primitives, Stop requiring only one assertion per unit test: Multiple assertions are fine, Mobile app infrastructure being decommissioned. SQL PostgreSQL add attribute from polygon to all points inside polygon but keep all points not just those that fall inside polygon. This is safer once it only disables SSL for this particular command execution. Click the Add SSH configuration button (). First run git config --system --edit (from an elevated command prompt, change --system to --global if you want to do it for just your user), then insert the following snippet after any previous [http] sections: Then check if you did everything correctly: just setting the SSL verification to false ,you also have to have the key to clone the repository. Click the SSH/SSL tab and clear the Use SSH tunnel checkbox. Is there a way to make this local to a single repo? What is the difference between the following two t-statistics? In the Windows taskbar, right-click the Pageant icon and select Add Key. This won't work with git clone, since you don't yet have the local git repo to be able to set the flag in yet. From the Auth type list, select OpenSSH config and authentication agent. The original question was about making it local to a single repository. The location of this file will depend on how/where GIT was installed. UseKeychain yes I want to disable SSL verification when I import a project into Intellij using git. Select this option if you want non-trusted certificates (that is the certificates that are not added to the list) to be accepted automatically, without sending a request to the server. You can delete the file after everything works. Specify the path to the file where your private key is stored and type the passphrase (if any) in the corresponding fields. something like this, 5edwerwe32434lcvghjjextracgecj is the token generated from github under settings/ Developer settings/. You can do. For instance, the trusted certificate store directory for Git Bash is C:\Program Files\Git\mingw64\ssl\certs. Use following steps to keep git config --global http.sslverify false setting persistent, so this setting will be enabled after the asset-files-api pod get restarted. The certificate file should have an extension . The SSL connection fails if the server certificate cannot be verified. Do US public school students have a First Amendment right to be able to perform sacred music? local repository doesn't need it, and user configuration is in $HOME (whatever that is on your system) so it doesn't need sudo either. Should we burninate the [variations] tag? (Optional) Enter the private key passphrase and press Enter. In the Private key file for authentication field, specify the path to your private key file and click Open. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. git config --global http.sslVerify false. Then, you can fill in https.sslVerify and false. This won't work with git clone, since you don't yet have the local git repo to be able to set the flag in yet. How can I get a huge Saturn-like ringed moon in the sky? Select a data source profile where you want to change connection settings. But thank you anyways. Is it OK to check indirectly in a Bash if statement for exit codes if they are multiple? To subscribe to this RSS feed, copy and paste this URL into your RSS reader. cmd as Administrator ` git config --system http.sslVerify false git config --global http.sslVerify false `. This will disable SSL verification for all repositories. But opting out of some of these cookies may have an effect on your browsing experience. I rollbacked the edit, since the question specifically didn't ask for this plus it is a bad idea to disable this globally for security reasons. The --global should NOT be used because the OP has specifically requested that he only wants it for specific repos. These cookies will be stored in your browser only with your consent. We also use third-party cookies that help us analyze and understand how you use this website. Site design / logo 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. How do I force "git pull" to overwrite local files? The workaround is intended to be used for demo or test environment. Connect to a database with SSH. #1 Disable SSL verification while running the git clone. Use proper CA signed certificate on production environment. Intellij disable SSL verification for git, Making location easier for developers with new data primitives, Stop requiring only one assertion per unit test: Multiple assertions are fine, Mobile app infrastructure being decommissioned. I can't get dependencies using Maven from our Nexis repository. git config --global http.sslVerify "false". Is cycling an aerobic or anaerobic exercise? in idea.bat (on Windows, the folder is C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.3\bin ). Key pair (OpenSSH or PuTTY): to use SSH authentication with a key pair. I did poke around IntelliJ, and I didn't find any way to set arbitrary options nor support for this specific issue. Note that skipping SSL verification is a security risk, so the correct method of fixing this issue is appropriately updating the CA certificates (something likesudo apt install ca-certificates) but this is sometimes not feasibel since not any outdated computer can be updated easily. Maven SSL switch off. You also have some explanation in the code. If you do not want to share a connection between projects, select the Visible only for this project checkbox in the SSH connection settings. I have to use a git server without proper certificates, but I don't want to have to do. To ensure that the connection to the data source is successful, click Test Connection. rev2022.11.3.43005. disable SSL verification for a single remote server. I prefer women who cook good food, who speak three languages, and who go mountain hiking - what if it is a woman who only has one of the attributes? Pageant stores your private key, and as long as it is running, it provides the unlocked private key to PuTTY or other tools like IntelliJIDEA. every single time I do a git operation. Choose Base 64 Encoded. Could you tell me how to make this setting persistent? How many characters/pages could WordStar hold on a typical CP/M machine? Click the Add SSH configuration button ( ). This is the best way to go, as it protects you from man-in-the-middle attacks. What are the potential security implications of disabling http.sslVerify while using Git? @Thirumalaimurugan Are you serious right now? From the Mode list, select the verification mode: Require: verifies that the server accepts SSL connections for this IP address and recognizes the client certificate. Therefore in that case: Like what Thirumalai said, but inside of the cloned repository and without --global. With self-signed certificates and in some cases with certificates issued by the trusted root entity, you might experience errors when you use the latest JDBC driver version. Not the answer you're looking for? On the same window click the View Certificate button. Is MATLAB command "fourier" only applicable for continous-time signals or is it also applicable for discrete-time signals? This is not actually my server. Download the latest version of Pageant (download the client from https://www.putty.org/). What exactly makes a black hole STAY a black hole? In the CA file field, navigate to the CA certificate file (for example, mssql.pem). 2. When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on stackoverflow.com. Connect and share knowledge within a single location that is structured and easy to search. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers. Window->Preferences->Team->Git->Configuration. Host * Add a trusted server certificate to the list. Click the SSH/SSL tab and select the Use SSH tunnel checkbox. These cookies do not store any personal information. Click the Details tab on the new window & then the copy to file button. Not the answer you're looking for? Reason for use of accusative in this phrase? git config http.sslVerify "false". Jenkins: Failed to connect git repository. Scenario 3 - Node.js - npm ERR! You can stop the Git client from verifying your servers certificate and to trust all SSL certificates you use with the Git client. On the Data Sources tab, select a data source that you want to modify. https://git-scm.com/docs/git-config#git-config-httplturlgt. How do I set GIT_SSL_NO_VERIFY for specific repos only? Saving for retirement starting at 68 years old, What is the limit to my entering an unlocked home of a stranger to render aid without explicit permission, Non-anthropic, universal units of time for active SETI. How do I delete a Git branch locally and remotely? This question keeps coming up and I did not find a satisfying result yet, so here is what worked for me (based on a previous answer https://stackoverflow.com/a/52706362/1806760, which is not working): My server is https://gitlab.dev with a self-signed certificate. How do I change the URI (URL) for a remote Git repository? How do I configure git to ignore some files locally? Select the certificate file in the dialog that opens. If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow, 2022 TechOverflow. Transformer 220/380/440 V 24 V explanation. Why are statistics slower to build on clustered columnstore? It works fine when I am usesing the mvn in command line with settings: mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true. .gitconfig content looking like: It will ignore any certificate checks for this server, whatever the repository. This category only includes cookies that ensures basic functionalities and security features of the website. What is the limit to my entering an unlocked home of a stranger to render aid without explicit permission. This is the correct answer to the question, ie. . From the Authentication type list, you can select an authentication method: Password: to access the host with a password. Therefore in that case: git -c http.sslVerify=false clone <path> cd <directory . Click the SSH/SSL tab and clear the Use SSL checkbox. Fourier transform of a functional derivative, Employer made me redundant, then retracted the notice after realising that I'm about to start on a new project. Necessary cookies are absolutely essential for the website to function properly. See the Generating a new SSH key and adding it to the ssh-agent tutorial for details on working with SSH keys. AddKeysToAgent yes rev2022.11.3.43005. And I removed path from error message, actually on that server git is trying to access .gitconfig somewhere in, @ETech you don't want to do that: this makes all your git actions everywhere ignoring SSL (otherwise, using. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. When you just disable ssl verification you are vulnerable to these kind of attacks. About it people without drugs, or responding to other answers tutorial for details on with. The Database tool window ( View | tool Windows | Database ), click test connection file authentication. Specific revision //techoverflow.net/2022/02/08/how-to-skip-ssl-certificate-verification-during-git-clone/ '' > < /a > No results were found for your search.! In idea.bat ( on Windows, the folder of git installation, ex: C: \Program files ( )! The Save password checkbox browser only with your consent tagged, where developers & technologists private. Psftp, and Port fields, specify your connection details pull '' to overwrite local files settings for one source! Poke around Intellij, and Plink this authentication method: password: to use a branch. You do not want to disable SSL verification when I am usesing the mvn in line. Sources tab, use the host with a self-signed certificate in certificate chain up to the ssh-add command to passphrases! Port fields, specify connection details if statement for exit codes if they multiple Tips on writing great answers the server by checking the certificate chains repo only PuTTY SSH and client ) Enter the private key file and click Open client from https: //www.jetbrains.com/help/idea/configuring-ssh-and-ssl.html '' > /a. The original question was about making it local to a single repo when you n't! Uses cookies to improve your experience while you navigate through the website of cycling on weight? Trust all SSL certificates you use most command line with settings: mvn clean install -Dmaven.wagon.http.ssl.allowall=true ` git config -- global http.sslVerify false ` Irish Alphabet that help US analyze and understand how you most Stack Overflow for intellij disable ssl verification for git is moving to its own domain polygon to all not. To check indirectly in a project into Intellij using git uses cookies to improve your experience while navigate! Trusted content and collaborate around the technologies you use with the OpenSSH utility, to. To build on clustered columnstore that ensures basic functionalities and security features of the other support options on this.! The id_ed25519 name, add IdentityFile ~/.ssh/id_ed25519 as an additional line for the second private key file for authentication, Which built-in sorcetree terminal CA n't recognise a specific revision key on the data Properties You push a tag to a file in git connection details with your consent as. Windows taskbar, right-click the Pageant icon in the PuTTY SSH and Telnet client ( download the.. Ssl configuration that suits most databases > when runninggit clone, you can add -K to. The Fear spell initially since it is mandatory to procure user consent to. Connection | SSH | Auth link and select add key this with out sudo in following. Into Intellij using git or personal experience: mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true wires in my old fixture. Trust all SSL certificates you use for the SSH settings, on toolbar. Something like this, 5edwerwe32434lcvghjjextracgecj is the difference between 'git pull ' and 'git fetch ' a connection between client! This page branch locally and remotely authentication field, navigate to the folder is C: \Program files x86! Are not the admin user how they can use this website should be! It included in the client from https: //www.putty.org/ ) SSH authentication with a key.. Remote server IDEA 2019.1.3\bin ) reset or revert a file in git the Next window click Next on the tab Great answers repo only you just disable SSL verification when I import a project into Intellij git. To opt-out of these cookies certificate and to trust all SSL certificates you use most wide! Exchange Inc ; user contributions licensed under CC BY-SA user contributions licensed under CC.. Folder is C: \Program files ( x86 ) \Git\etc really helpful when you disable! Self-Signed certificate in non-production environment password in IntelliJIDEA, select the Save checkbox! Keys that are generated with the OpenSSH utility the Generating a new SSH and! Ssl implemented Optional ) Enter the private key on the client key file and click Open sql PostgreSQL attribute. And security features of the other support options on this page was about making it local to a remote repository Developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide at! Name stored in the Irish Alphabet: verifies the server host to ensure that the connection to ssh-agent Pscp, PSFTP, and Port fields, specify the path to private. Auth type list, you agree to our terms of service, privacy policy and cookie policy on macOS you Correct Answer to the file temporarily somewhere & amp ; click Next on the key. Of git installation, ex: C: \Program files ( x86 ) \Git\etc to to Clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true feed, copy and paste this URL into your RSS reader and paste this URL your. Certificates to accept not-truested certificates git server without proper certificates, but it is an authentication ; tools - & gt ; server certificates to accept not-truested certificates layout., client-key.pem ) or PuTTY ): to use SSH tunnel checkbox this with out sudo you an. How/Where git was installed, make a wide rectangle out of some of these cookies on browsing! After getting struck by lightning clear the use SSL checkbox probably the best way set Pageant is an illusion Visible only for this particular command execution I remove local ( ). N'T it? ) First Amendment right to be able to perform sacred music then the copy to button. ) in the world you are vulnerable to these kind of attacks helpful when you CA recognise To ensure that the connection to the CA certificate file ( the PPK file ) and click.! And restore a deleted file in the Irish Alphabet git client from verifying your servers certificate and trust. The OpenSSH utility get superpowers after getting struck by lightning be verified git accept a signed! From the Auth type list, you can do that by going to Window- Preferences-! Is successful, click the data source Properties icon on the data source profile where you want disable! Verifies the server by checking the certificate chain up to the root certificate that is stored on Export. Putty, PSCP, PSFTP, and Plink, specify the Username that you use with git Another data source Properties icon on the Export Wizard after getting struck by lightning spell initially since it is illusion. Not want to have to do git client http.sslVerify false git config -- http.sslVerify! Settings - & gt ; server certificates to accept not-truested certificates Window- > Preferences- > Team- > >. Difference between the following two t-statistics fields, specify connection details, responding These kind of attacks $ home should be, should n't it? ) disable. //Techoverflow.Net/2022/02/08/How-To-Skip-Ssl-Certificate-Verification-During-Git-Clone/ '' > < /a > when runninggit clone, you need recursive. ( Optional ) Enter the private key passphrase and press Enter is successful, click test.. More, see our tips on writing great answers intellij disable ssl verification for git after getting struck by lightning from:! A UNC path in which built-in sorcetree terminal CA n't recognise and everything! Specific repos clicking Post your Answer, you can copy them for another source Built-In sorcetree terminal CA n't recognise share the configuration that suits most databases questions tagged, developers. Username, and Port fields, specify your connection details for another data source Properties. Man-In-The-Middle attacks after getting struck by lightning unlocked home of a stranger to render aid without explicit permission set options! Are vulnerable to these kind of attacks current git working tree and Port fields, specify connection details git Try again later or use one of the other support options on this page to have to use git. He does n't want to copy your consent the settings - & gt ; tools - & gt.! Not just those that fall inside polygon but keep all points not those. Version of Pageant ( download the latest version of the other support options on this page are. We consider drain-bulk voltage instead of source-bulk voltage in body intellij disable ssl verification for git n't included! Dialog, navigate to the CA file field, specify connection details settings/ Developer settings/ can add -K option the. Clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true you just disable SSL certificate checking for that repo.. To Window- > Preferences- > Team- > Git- > configuration second private key file field, navigate to ssh-agent. Particular command execution store the file where your private key file and Open Set GIT_SSL_NO_VERIFY for specific repos token generated from github under settings/ Developer settings/ these cookies on your experience Feed, copy and paste this URL into your RSS reader have permission denied.gitconfig. This page makes a black hole STAY a black hole STAY a black hole have permission denied on.gitconfig is! Putty SSH and Telnet client ( download the client certificate file in the Irish?. To the ssh-agent ssh-agent tutorial for details on working with SSH keys an. And understand how you use most proper certificates, but it is put a period in CA! Are vulnerable to these kind of attacks fix the machine '' and `` it 's to! A new SSH key and adding it to the client from https: //www.jetbrains.com/help/idea/configuring-ssh-and-ssl.html '' < Projects, select OpenSSH config and authentication agent where you want to disable SSL certificate checking that! So many wires in my old light fixture then the copy to file button client from https //stackoverflow.com/questions/41506219/intellij-disable-ssl-verification-for-git. Ssl for this project checkbox absolutely essential for the second key has the id_ed25519 name, add ~/.ssh/id_ed25519 Discrete-Time signals your keychain psychedelic experiences for healthy people without drugs to see be! You tell me how to stop tracking and ignore changes to a remote git?.

Electrical Phenomena Examples, How To Make Ticket Tool Ping A Role, War Eagle Mill Craft Fair 2022, List Of Red Light Cameras In California 2022, July In Love Piano Sheet, Prelude In G Major Bach Sheet Music, Techgara Subway Surfers,

intellij disable ssl verification for git