SuperTuxKart certificate fix ("SSL peer certificate or SSH remote key was not OK")

Karl Auer kauer at biplane.com.au
Fri Aug 5 07:43:47 UTC 2022


Hullo all.

Dunno if anyone else is playing SuperTuxKart on 20.04LTS - I'm an STK
tragic myself.

I have been annoyed for a long time by a scrolling message saying "SSL
peer certificate or SSH remote key was not OK" and being unable to
download add-ons like new tracks and karts. I finally went looking for
a solution and the Internet delivered. Found a patch from one jhonny-
oliviera, posted at 
https://github.com/supertuxkart/stk-code/issues/4635.

If you are still running 20.04 and have been also unable to download
add-ons or see the latest news, here's the fix.

Stop SupertuxKart

Go download this patch file:

https://github.com/supertuxkart/stk-code/files/7272036/SSL_peer_certificate_or_SSH_remote_key_was_not_OK.patch.txt

Rename the downloaded file to x.patch :-)

Take a protective copy of /usr/share/games/supertuxkart/data/cacert.pem
somewhere

Change directory to /usr/share/games/supertuxkart/data

sudo patch < /path/to/x.patch

Run SuperTuxKart. Everything should work. If it doesn't, copy the old
cacert.pem file back.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer








More information about the ubuntu-users mailing list