Cloning into github/FFMpeg

I am trying to install FFmpeg onto my Raspberry Pi but I am getting an error when trying to clone into github.com

The command I entered was: 
sudo git clone https://github.com/FFmpeg/FFmpeg.git

The error I am getting is:
Cloning into ‘FFmpeg’…
fatal: unable to access ‘https://github.com/FFmpeg/FFmpeg.git/’: gnutls_handshake() failed: Key usage violation in certificate has been detected.

What can I do to get to get past this error?

You could try to (temporarily) turn of SSL validation using this: https://stackoverflow.com/a/9008394 , however I must note that  this is very insecure. The best option would be to figure out why the certificate isn’t trusted and fix the root cause.

1 Like