aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/files/radius
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
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')
-rwxr-xr-xroles/space_server/files/radius/bootstrap6
-rw-r--r--roles/space_server/files/radius/mods-available/eap2
2 files changed, 1 insertions, 7 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
diff --git a/roles/space_server/files/radius/mods-available/eap b/roles/space_server/files/radius/mods-available/eap
index 938370c..50d550c 100644
--- a/roles/space_server/files/radius/mods-available/eap
+++ b/roles/space_server/files/radius/mods-available/eap
@@ -281,7 +281,7 @@ eap {
#
# openssl dhparam -out certs/dh 2048
#
- dh_file = ${certdir}/dh
+ # dh_file = ${certdir}/dh
# If your system doesn't have /dev/urandom,
# you will need to create this file, and