~fhusson

Howto fix 'error: Problem with the SSL CA cert'

On my Raspberry Pi with Raspbmc(predecessor of OSMC), when trying to build a simple go program, after a go get I had the following message :

error: Problem with the SSL CA cert (path? access rights?) while accessing https://github.com/XXXXXXXXXXX
fatal: HTTP request failed

The fix was to install the certificates :)

sudo apt-get install ca-certificates
Discuss on Twitter