* Tue Mar 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- handle dhparam via template [SME: 12964]
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Ensure that PRNG is adequately seeded.
|
||||
[ -s /etc/raddb/certs/dh ] ||\
|
||||
/usr/bin/envuidgid stunnel \
|
||||
/usr/bin/openssl dhparam -out /etc/raddb/certs/dh 2048
|
||||
[ -s /etc/raddb/certs/random ] ||\
|
||||
/usr/bin/envuidgid stunnel \
|
||||
/bin/dd if=/dev/urandom of=/etc/raddb/certs/random bs=1k count=1
|
||||
|
Reference in New Issue
Block a user