git-remote-https.exe libcurl-4.dll The procedure entry point SSL_CTX_set_alpn_protos could not be located in the dll
Asked by Greg Lindstrom:

I installed SourceTree 1.6.25 on my work computer this morning (fresh install). Upon trying to "clone new" Bitbucket repository, i received the following error:

---------

git-remote-https.exe - entry point not found

The procedure entry point SSL_CTX_set_alpn_protos could not be located in the dynamic link library

C:\\Users\\myuser\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\mingw32\\bin\\libcurl-4.dll

----------

I've searched my machine for older copies of libcurl-4.dll and no copires are found. I checked the system path for anything suspicious. I've done extensive google searching and I haven't found any answers to this issue.

This error is preventing me from cloning any repository. How do I fix this?

[](https://community.atlassian.com/t5/Sourcetree-questions/git-remote-https-exe-libcurl-4-dll-The-procedure-entry-point-SSL/qaq-p/427587?attachment-id=12436){#link_1173813983ff80}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12797/1/160405-09-00.jpg){#display_1173813983ff80_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/git-remote-https-exe-libcurl-4-dll-The-procedure-entry-point-SSL/qaq-p/427587?attachment-id=12437){#link_1173813983ff80_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12797/2/160405-09-01.jpg){#display_1173813983ff80_2}


Answers:
author: Blue_bird02
body: I've been struggling with similar issue where a fresh install of SourceTree on a different PC failed to clone with an error saying it couldn't find a DLL (specifaclly LIBEAY32.dll). It is all installed and working correctly on another PC. Eventually I found that 37 DLL's are in: C:\\Users\\myName\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\mingw32\\bin

But they should also be found at:

C:\\Users\\myName\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\mingw32\\libexec\\git-core

After a Copy 'n' paste of all 37 DLL's into the git-core folder and it is now working. Hope this helps someone.

comments: author: Greg Lindstrom
body: Thank you Todd Dowty! This worked for me! Is this an installation bug? Should this be elevated to the SourceTree developers somehow? I'm not sure how these issues get fixed permanently.


author: akashnigam
body: Thanks a lot mate. It was quick and very helpful.


author: Randall Forsyth
body: Beautiful. Had this issue and no help anywhere. I can't imagine how you came up with this solution and just amazing that this can happen with a fresh installation. Thank you thank you thank you.


author: Happaro
body: Thank you very much! It's **really** helped.


author: Dimitri Vercruysse
body: Thank you very much, this helped me too


author: jakejoin
body: Thank you so much!


author: Mehdi Bakali
body: Thank you mate :smile:!


author: jaikhan
body: Its Working fine...Thanks


author: Aleksandr Dabizha
body: Thank you so much!


author: su_shah
body: Thanks, It solved the problem


author: sunk818
body: Nice find. Did you find this out using Process Monitor by SysInternals? I can confirm too. :smile:

160405-09-01.jpg


author: hassan shaddad
body: you are my hero today


author: dwallentine
body: Had this problem after an upgrade. Your solution worked for me. Thank you.


author: davidpruitt
body: Thanks! This answer saved my day.


author: Tom Zelenka
body: Thank you!!! fixed my of "

HTTPS Protocol not supported or disabled in libcurl" {#toc-hId-1900414333}
==========================================================================


author: Marco Geuna
body: Thank you very much Todd Dowty! You solved my problem!  
\[Note: in my case, the missing DLL's were 38\]


author: Tim Rametta
body: If this is an ongoing issue for so many, why doesn't Atlassian release a fix for this?


author: Simon Seo
body: I LOVE YOU.


author: Silvia Lee
body: Thank you!!! It works!!!


author: DeadZombie
body: LOVE YOU! Thanks a lot!


author: johnpon_gr
body: Thank you so much!


author: Giuseppe Bertone
body: It worked for me also. Many thanks!


author: xxxxxxxxxxxxxxxxxx
body: It works for me! thanks man!


author: sunk818
body: You'd think an answer with so many upvotes would get the attention of Atlassian and actually a fix for this in future builds. I hope they are reading and making changes!


author: Kelly Grillo
body: Todd you are the Man! Nice job, worked for me. :smile:


author: ????? ?????
body: Thank you very mach!!!! its super!!


author: ????????? ?????????
body: Thanks bro!!!


author: ?????? ????????
body: Thanks!


author: Sanjay Limbani
body: Thanks Man, you made my day.!!!


author: noob_org
body: Worked for me aswell. Thx.


author: ???
body: thx a lot!!


author: Winta Assefa
body: I have tried all the suggestions out there and failed. This worked. Thank youuuuuuuuuuuuu


author: Samuel Rubert
body: Thank you.

I have to say it is beyond ridiculous that it's been over a year and an issue like this still hasn't been addressed.


author: Eduardo Martins
body: Thank you.

Iam use Windows 10 64...


author: sunk818
body: I ended up dumping SourceTree and gong with GitHub's Windows client. Atlassian should stick to web apps or get a competent Windows team to make SourceTree software. It is quite embarassing they can't get their act together for this software.


author: RafaelAdorno
body: Thank you very much.

I've had problem with different dll and the copy 'n paste solve my problem.

My problem was: The procedure entry point EVP_aes_128_ctr could not be located in the dynamic link library, in the library libssh2-1.dll.

I'm just putting here the message and dll to facilitate others who has the same problem.

Again. Thank you.


author: John Posten
body: Thanks! That worked for me. Too bad they don't have this bug fixed in over a year.


author: Kelly
body: Awesome quick fix, to the point and accurate. :-) Thank you!


author: Chang Yook Ahn
body: I created an account just to commented here and say thank you so much!


author: Dwayne Wanner
body: I ran into the same problem this morning. I fixed it temporarily by installing the CLI Git client from <https://git-scm.com/downloads> and changing the Git setting in SourceTree to use the system Git client.

Not really an answer, but if your under a deadline.

comments: author: Brent Calabria
body: this worked for me, thank you.


author: dougknudsen
body: I had CLI Git client already installed and switching to the "System Git" instead of Embedded Git work for me as well. Was struggling with a lot of the "entry point" errors. Thanks for the suggestion.


author: Axely
body: ah thank a lot brooo  
very thaank


author: B
body: Todd Dowty,

Thank you I tried what you said and it solved it however I had 38 dlls.

Hint: Use the search bar .dll to mark all fast


author: Greg Lindstrom
body: I temporarily resolved this issue the same way as Dwayne by not using the built in Git client. I also do not have libcurl.dll in the windows folders above. Some posts I read on other sites said Office 365 (which I have installed) may be causing a conflict. I just installed the latest the SourceTree update and this did not solve the problem. I have not received any information on a fix. This problem is currently unresolved for me. The embedded Git client still will not work.


author: Ferdiansyah Dolot
body: Hi David,

Yes it did resolve for me. Please make sure you enter the correct http path from git when inputting to source tree.


author: David Lynch
body: I'm having the same issue, and I don't see libcurl.dll in either of those folders. Was this ever resolved?


author: Ferdiansyah Dolot
body: Try removing libcurl.dll from `C:\Windows\sysWOW64 and` `C:\Windows\System32`. Looks like it has libcurl conflict.

--

Dolot

comments: author: Chris Duursma
body: Yes, this finally did help for the LIBEAY32.dll located in C:\\Windows\\sysWOW64. Thanks to all!