1
This commit is contained in:
Evan Pratten 2023-10-09 14:32:47 -04:00
parent acc96e3fad
commit 473d712dcb

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! /bin/bash
set -e
# Make the keys dir
@ -6,6 +6,6 @@ KEYS_DIR=~/.config/gnome-remote-desktop/keys
mkdir -p $KEYS_DIR
# Generate keys
openssl genrsa -out $KEYS_DIR/tls.key 4096
openssl genrsa -out $KEYS_DIR/tls.key 4096
openssl req -new -key $KEYS_DIR/tls.key -out $KEYS_DIR/tls.csr
openssl x509 -req -days 36500 -signkey $KEYS_DIR/tls.key -in $KEYS_DIR/tls.csr -out $KEYS_DIR/tls.crt