-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Barrier 2.4.0 does not create SSL certificate required for being a server, on any supported OS (Mac OS, Linux, Windows) #2076
Comments
Just installed 2.4.0 and after setting up both server and client with auto-config, I get the following error when reach the edge of my screen
I see SSL errors on both server and client |
I can confirm that it also affects Windows. The workaround works the same with minor modifications, but an openssl binary would need to be included. |
Autoconfig definitely does NOT work in 2.4.0 in Linux, it likely doesn't in Mac OS either. Uncheck auto config and manually enter the IP address of your server in your client. That works here. See screenshot below. autoconfig generated the following errors in terminal when launching barrier: Seems whoever wrote Avahi is saying Barrier needs to be rewritten to be compatible, and is not as of v. 2.4.0 |
@LuboGD's manual cert creation did the trick for me with a mac server and mac client both running Barrier 2.4.0. Thanks! |
Can confirm issue and fix on Fedora 40 KDE. |
Same issue on Windows 11 and same workaround. |
What happened?
Confirmed this bug affects Debian and likely all distributions derived from it. Barrier 2.4.0 installed from distribution repositories, i.e. sudo apt install barrier
Also Mac OS, from github binary releases.
Directory for SSL certificate on Linux (at least Debian and friends) is:
/home/lubod/.local/share/barrier/SSL
on Mac OS:
~/Library/Application Support/Barrier/SSL
Same command as posted for Mac OS creates SSL certificate:
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
Fix can be implemented by adding a post-install script to the existing .deb package that does:
#!/bin/bash
cd ~/.local/share/barrier/SSL
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
and on Mac OS, add to package from which .dmg is built:
cd ~/Library/Application Support/Barrier/SSL
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
Already filed at: (including here for completeness)
https://bugs.launchpad.net/ubuntu/+source/barrier/+bug/1995190/comments/5
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Distribution repositories and github binary release.
What OSes are you seeing the problem on? (Check all that apply)
Linux, macOS
What OS versions are you using?
Debian 12 and Mac OS 10.13
Relevant log output
No response
Any other information
No response
The text was updated successfully, but these errors were encountered: