My OS is Windows, In the specific wifi, I have to input command

Git config –global http.sslVerify false 

to GIT for pull/push the repo.

If I use GIT by command, it doesn't have any issue after that command.

However when I use the GIT in Visual Studio 2022, I get an error:

OpenSSL/3.1.1: error:0A000152:SSL routines::unsafe legacy renegotiation disabled

Does anyone know how to set that Git config above in VS2022 or another solution?

4

1 Answer

For those looking for a solution for GIT in Windows, I was able to fix the issue by doing the following:

  1. Created a custom openssl.conf file with the content described in the solution here:
  2. Added environment variable by opening a command prompt and entering: set "OPENSSL_CONF=c:\GIT\openssl.cnf"

Once this was done I was able to clone successfully.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.