add Diffie-Hellman Parameters to cipher suites

This commit is contained in:
milad nazari
2024-12-21 21:05:09 +03:30
parent 32e0784865
commit f68c1b7c29
4 changed files with 21 additions and 2 deletions

13
docker/start-container Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
FILE="/etc/ssl/certs/dhparam.pem"
if [ ! -f "$FILE" ]; then
echo "the $FILE does not exist, creating..."
openssl dhparam -out "$FILE" 2048
else
echo "the $FILE already exists, skipping..."
fi
echo "run default script"
exec /init