* Mon Apr 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme

- rewrite radiusd-configure [SME: 12624]
- move forgotten templates [SME: 12623]
This commit is contained in:
2024-04-15 13:24:10 -04:00
parent c711c35136
commit 3625ba86fb
6 changed files with 84 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
# Ensure that PRNG is adequately seeded.
[ -s /etc/raddb/certs/dh ] ||\
/usr/local/bin/envuidgid stunnel \
/usr/bin/openssl gendh > /etc/raddb/certs/dh
/usr/bin/envuidgid stunnel \
/usr/bin/openssl dhparam -out /etc/raddb/certs/dh 2048
[ -s /etc/raddb/certs/random ] ||\
/usr/local/bin/envuidgid stunnel \
/usr/bin/envuidgid stunnel \
/bin/dd if=/dev/urandom of=/etc/raddb/certs/random bs=1k count=1