Created
July 11, 2022 18:48
-
-
Save EricCousineau-TRI/568bdf77a56ca59d5cfd5c91dd7ebd30 to your computer and use it in GitHub Desktop.
Fixing barrier snap ssl stuff: https://github.com/debauchee/barrier/issues/231
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
set -eux | |
mkdir -p ~/snap/barrier/682/.local/share/barrier/SSL/Fingerprints | |
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout ~/snap/barrier/682/.local/share/barrier/SSL/Barrier.pem -out ~/snap/barrier/682/.local/share/barrier/SSL/Barrier.pem | |
openssl x509 -fingerprint -sha1 -noout -in ~/snap/barrier/682/.local/share/barrier/SSL/Barrier.pem > ~/snap/barrier/682/.local/share/barrier/SSL/Fingerprints/Local.txt | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment