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?
41 Answer
For those looking for a solution for GIT in Windows, I was able to fix the issue by doing the following:
- Created a custom openssl.conf file with the content described in the solution here:
- 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.