bsky
bsky

Reputation: 20222

Intellij disable SSL verification for git

I want to disable SSL verification when I import a project into Intellij using git.

I know that in Eclipse you can do that by going to Window->Preferences->Team->Git->Configuration. Then, you can fill in https.sslVerify and false.

How can you do this in Intellij?

Upvotes: 3

Views: 21417

Answers (1)

Pierluigi Vernetto
Pierluigi Vernetto

Reputation: 2050

I have solved the issue by adding

set GIT_SSL_NO_VERIFY=true

just before the line

"%JAVA_EXE%" %ALL_JVM_ARGS% -cp "%CLASS_PATH%" com.intellij.idea.Main %*

in idea.bat (on Windows, the folder is C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.3\bin )

Upvotes: 3

Related Questions