Barrier doesn't exchange SSL certificates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
barrier (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Barrier version 2.4.0 doesn't exchange SSL certificates, which means that mouse and keyboard sharing simply don't work. This is true across all platforms. Connecting Mac to Windows, Windows to Mac, Mac to Linux, Windows to Linux, Windows to Windows, Linux to Windows, Linux to Mac, it is the same problem. Discussions on github indicate that this problem has remained unresolved, with no software update for almost a year. Barrier looks very much like abandonware and really needs to be removed from the Snap repository so that other people don't end up wasting as much time as I have wasted this evening trying to get it to work.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: barrier 2.4.0+dfsg-2
ProcVersionSign
Uname: Linux 5.15.0-48-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 30 02:40:24 2022
InstallationDate: Installed on 2022-05-18 (164 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: barrier
UpgradeStatus: No upgrade log present (probably fresh install)
I'm sorry. I now realise that I made a mistake while trying to execute a workaround due to a clumsy copy-paste, causing it to fail. So while this bug is still real, it is not fatal. Barrier can still be made to work.
The workaround is to execute the command
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
in the Barrier SSL folder on the Barrier server, and then to restart the Barrier service using the Barrier interface on the server. I did this in MacOS, but I believe that the exact same command will work for Ubuntu, except that the path to the Barrier SSL folder will be different.