Created
November 15, 2021 23:09
-
-
Save tamsky/fcbe4bfb2f3d61a39b4971c7ec03826d to your computer and use it in GitHub Desktop.
How to fix Barrier ssl key missing errors. Via https://stackoverflow.com/questions/67343804/error-ssl-certificate-doesnt-exist-home-rsvay-snap-barrier-kvm-2-local-shar
This file contains 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
$ cd "path to your SSL" | |
$ mkdir -p Fingerprints | |
$ openssl req -x509 -nodes -days 365 -subj /CN=barrier -newkey rsa:4096 -keyout barrier.pem -out barrier.pem | |
$ openssl x509 -fingerprint -sha1 -noout -in barrier.pem > Fingerprints/Local.txt | |
$ sed -e "s/.*=//" -i Fingerprints/Local.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment