From 3f56ae6a63474fa4a055c363c25447802415fb99 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 13 Nov 2024 19:53:50 +0100 Subject: [PATCH] fixes --- configs/scripts/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/scripts/server.sh b/configs/scripts/server.sh index 94ce580..930098e 100755 --- a/configs/scripts/server.sh +++ b/configs/scripts/server.sh @@ -28,7 +28,7 @@ chroot /mnt /bin/bash -c "cd root && openssl genrsa -out ca.key 2048" chmod 400 /mnt/root/ca.key mkdir -p /mnt/etc/ssl/certs/ mkdir -p /mnt/etc/ssl/private/ -chroot /mnt /bin/bash -c "openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /etc/ssl/certs/ca.crt" +chroot /mnt /bin/bash -c "openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /etc/ssl/certs/ca.crt -subj '/C=CH/ST=Zurich/L=Zurich/O=InterstellarNet/OU=NONE/CN=INTERSTELLAR'" cp /mnt/etc/ssl/certs/ca.crt /mnt/root chroot /mnt /bin/bash -c "chown -R www-data:www-data /etc/ssl/private/" chroot /mnt /bin/bash -c "chown -R www-data:www-data /etc/ssl/certs/"