mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1952] ERROR: ssl certificate doesn't exist: C:\Users\xxxx\AppData\Local\Barrier\SSL\Barrier.pem #1424
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @411621 on GitHub (Jul 7, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1952
What happened?
On desktop and on laptop same error:
ERROR: ssl certificate doesn't exist: C:\Users\xxxx\AppData\Local\Barrier\SSL\Barrier.pem
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Chocolately
What OSes are you seeing the problem on? (Check all that apply)
Windows
What OS versions are you using?
22H2 19045.3155
Relevant log output
Any other information
Barrier.pem does not exist
@mml commented on GitHub (Jul 8, 2023):
I am getting essentially the same message on Debian Bookworm running 2.4.0. Barrier worked fine on Debian bullseye (this was apparently 2.3.3).
@NaokiS28 commented on GitHub (Jul 14, 2023):
I was getting the same error on macOS Ventura and Windows 11. If its an acceptable workaround in your case, you can disable SSL by opening barrier's settings and unchecking "Use SSL". I did that on both machines and it works again. I understand its less secure but then in a private instance it's probably fine
@tralves commented on GitHub (Jul 15, 2023):
Hi! I have
SSL Fingerprint: Disabledboth on MacOS and Win 11 and I have the same error.@Pegase01 commented on GitHub (Jul 17, 2023):
same for me between 2 mac
Mac OS Monterey 12.6.7 et MAC OS Ventura 13.4.1 (ARM)
Not able to deactivate SSL but this should not be the problem.
Application Support/barrier/ssl doesn't contain any certificate
@videoMonkey commented on GitHub (Aug 9, 2023):
I was experiencing this on my linux debian bookworm flatpak and my windows 10 computer. I dont know why, but I found some clues in this thread that led me to be able to resolve it on both platforms. On the arch wiki linked above it says
and proceed to suggest the following commands
being on flatpak I had to change
~/.local/share/barrier/SSL/to the one I found listed in the barrier logs in all the commands. I don't remember what it was at this point.Windows was a little tricker, I had to download the
openssl.cnffrom this repo and copy it toC:\OpenSSL\ssl\openssl.cnfand then I ran the following command& 'C:\Program Files\Barrier\openssl.exe' req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout "C:\Users\<user>\AppData\Local\Barrier\SSL\Barrier.pem" -out "C:\Users\<user>\AppData\Local\Barrier\SSL\Barrier.pem"now things are working. I don't know why cert gen isn't working, in this release, that would be the real solution, but until then, this is what I did to get things going. I am using this at the office network with ~20 other users on the network and I don't want my input unencrypted.
@Amagnum commented on GitHub (Aug 26, 2023):
The above one works! Just make sure to write the commands correctly!
@Pegase01 commented on GitHub (Aug 28, 2023):
I do confirm : it works 👍 !
thanks @videoMonkey and @Amagnum
the only think was that barrier didn't accept to run anymore (but I migrated my OS from Monterey to Ventura in between) - it was just starting and disappearing.
I had to do another copy of the barrier.app from the downloaded .dmg to Application Folder and to follow this post : https://github.com/debauchee/barrier/issues/1945
Now SSL is enabled on my server (I should finish the test when I will my other computer back).
@gbicann commented on GitHub (Sep 6, 2023):
A macOS workaround is here.
@hi-ko commented on GitHub (Oct 18, 2023):
on windows just use ssl generate powershell script from https://github.com/debauchee/barrier/issues/1377#issuecomment-1593695744 to generate the missing ssl cert:
@jhgorse commented on GitHub (Oct 31, 2023):
Duplicate. #231
See this comment for the known fixes: https://github.com/debauchee/barrier/issues/231#issuecomment-1143791895