inside the mind of a linux admin

synergy: How to enable crypto (encryption) and generate SSL certificate

The newer Linux versions of the popular mouse/keyboard sharing application “synergy” now has built in encryption.


Here’s how to configure it:

Just simply passing the –enable-crypto flag on your synergy server without having a proper SSL certificate will result in the inability to connect to clients and generate an error message similar to this in your syslog:

Apr 28 14:36:35 enrage Synergy 1.8.8: [2020-04-28T14:36:35] ERROR: ssl certificate doesn't exist: /home/eriks/.synergy/SSL/Synergy.pem#012#011/build/synergy-3N7yN5/synergy-1.8.8-stable+dfsg.1/src/lib/net/SecureSocket.cpp,617


Here’s what you need to do to establish a secure connection on both the server and client sides:


Server


Client

Create the directories if they do not exist:

Copy server key hash to following file.

and restart both the synergy server and client daemon…

Related Posts

Change Number Pad Delete (dot) key from a comma in Ubuntu Linux

I recently purchased a new keyboard and updated to the latest Ubuntu, I’m also an avid user of the number pad for quick input when dealing with spreadsheets or accounting. I found that my num pad’s delete key (“.”) was outputting a comma (“,”) instead. Pretty annoying? I agree, but this can be very easily […]

Read More

How to revert back to X11 / Xorg from Wayland

Wayland is intended as a “simpler replacement for X”, and is getting quite a bit of hype around the Linux community. So much so, that it’s the default in the latest versions of Fedora, GNOME, KDE and others. While Wayland may be the future, it really is in future. At least for Ubuntu 17.10. The […]

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Tweeter button Facebook button Myspace button