Skip to content

Instantly share code, notes, and snippets.

@philippgitpush
Last active June 5, 2024 18:49
Show Gist options
  • Save philippgitpush/46580ab3d34da68dc1aea0b671d0a0a5 to your computer and use it in GitHub Desktop.
Save philippgitpush/46580ab3d34da68dc1aea0b671d0a0a5 to your computer and use it in GitHub Desktop.
Script for generating a self-signed SSL certificate using OpenSSL on Windows, specifically for use with the Barrier KVM software.
"C:\Program Files\Git\usr\bin\openssl.exe" req -x509 -nodes -days 3365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem -sha256
@philippgitpush
Copy link
Author

The output should go to "AppData\Local\Barrier\SSL\Barrier.pem".
Make sure you have Git installed (along with OpenSSL, it should be bundled with it) for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment