Skip to content
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

Added Known Issues for missing SSL cert #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Known-Issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,33 @@ This issues are some of the most common ones reported, and we aim

Please feel free to inspect Barrier's [source code][src_code].

## SSL CERTIFICATE DOES NOT EXIST

- Barrier app on macOS and Windows currently does not generate SSL certificate automatically in server mode.

Hence, user will find the error `ssl certificate doesn't exist: <somepath>/Barrier.pem`. The `Barrier.pem` file is located differently in macOS and Windows.

- macOS 12.5.1
```shell
/Users/<username>/Library/Application Support/barrier/SSL/Barrier.pem
```

- Windows 11 21H2

```shell
C:\Users\<username>\AppData\Local\Barrier\SSL\Barrier.pem
```

Use OpenSSL to generate SSL cert with the command below and copy it into the corresponding directory.

```shell
openssl req -x509 -nodes -days 9999 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
```

*Tested under WSL2 Windows 11. All credits to [cfarvidson](https://github.com/debauchee/barrier/issues/231#issuecomment-962421337)*




[wiki_repo]: https://github.com/debauchee/barrier-wiki
[av_issue]: https://github.com/debauchee/barrier/issues/666
Expand Down