aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/files/radius/bootstrap
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2023-04-08 19:15:34 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2023-04-08 19:15:34 +0200
commit55219a3a84683a47a8497f0e98d7031d03358b93 (patch)
treec979f49ccc3b5087d515817f35f4324d93b3c2be /roles/space_server/files/radius/bootstrap
parent600774e1261dece2c7870d652f4e6666544bf5cd (diff)
downloadlabitat-ansible-55219a3a84683a47a8497f0e98d7031d03358b93.tar.gz
labitat-ansible-55219a3a84683a47a8497f0e98d7031d03358b93.tar.xz
labitat-ansible-55219a3a84683a47a8497f0e98d7031d03358b93.zip
space_server: radius: dh_file no longer needed
Diffstat (limited to 'roles/space_server/files/radius/bootstrap')
-rwxr-xr-xroles/space_server/files/radius/bootstrap6
1 files changed, 0 insertions, 6 deletions
diff --git a/roles/space_server/files/radius/bootstrap b/roles/space_server/files/radius/bootstrap
index 376aa78..4e6f0d5 100755
--- a/roles/space_server/files/radius/bootstrap
+++ b/roles/space_server/files/radius/bootstrap
@@ -9,12 +9,6 @@ fullchain="/etc/letsencrypt/live/$certname/fullchain.pem"
umask 027
cd "$(dirname $0)"
-if [ ! -f dh ]; then
- openssl dhparam -out dh 2048
- chown root:radiusd dh
- chmod 640 dh
-fi
-
if ! diff -q "$privkey" privkey.pem >/dev/null 2>&1; then
install -m640 -o root -g radiusd "$privkey" privkey.pem
fi