Solving “setting certificate verify locations” error with Tower’s embedded Git

As far as I’m concerned, Tower is the best Git client that money can buy. It’s fully featured, well-designed, and it even has Git embedded within it. I don’t even bother with installing plain vanilla Git on Windows anymore. I just update the PATH environment variable to point to Tower’s git.exe, and I’m done.

Well, not quite. I had an issue with SSL certificates when I was trying to use Scoop, which uses Git internally. Here’s the message I got (slightly reformatted for readability’s sake):

I’m guessing git.exe was looking for this ca-bundle.crt file in a default location that didn’t exit on my machine, due to using Tower’s embedded git and all.

After some googling with DuckDuckGo I found an ancient post titled “msysGit error setting certificate verify location” that had the solution. I simply ran the following command in PowerShell (reformatted for readability):

And that solved it for me. I reran the Scoop command from before and it worked without a hitch.