Monday, 30 October 2023

GIT Windows/Git Bash How to use your own openssl

1) Download latest version of openssl

https://slproweb.com/products/Win32OpenSSL.html

2) During installation use bin path

3) add open ssl to windows path variable , search for env in search, open edit system environment variables, click "environment variables", in path click "edit"


click new and add <your openssl bin path>



https://medium.com/swlh/installing-openssl-on-windows-10-and-updating-path-80992e26f6a1


4) Download latest version git for windows

    https://gitforwindows.org/

5) During installation select use external openssh

(do not use this step unless you have external openssh linked)

5) After installation open git bash and enter where openssl

You should see path from 

C:\Program Files\Git\mingw64\bin\openssl.exe

C:\Program Files\Git\usr\bin\openssl.exe

<My step 3 path openssl.exe>

6) delete C:\Program Files\Git\mingw64\bin\openssl.exe, C:\Program Files\Git\usr\bin\openssl.exe

7) run openssl version, you should see GIT using open ssl you have installed




common error:

Pseudo-terminal will not be allocated because stdin is not a terminal

https://www.blogger.com/blog/post/edit/2746942211977437381/1967034144470337014



No comments:

Post a Comment