Faster dhparams for vpn
This commit is contained in:
parent
4cdd66d6f9
commit
8322e0a553
|
@ -561,7 +561,7 @@ function install_stunnel {
|
|||
function vpn_generate_keys {
|
||||
# generate host keys
|
||||
if [ ! -f /etc/openvpn/dh2048.pem ]; then
|
||||
openssl dhparam -out /etc/openvpn/dh2048.pem 2048
|
||||
${PROJECT_NAME}-dhparam -o /etc/openvpn/dh2048.pem
|
||||
fi
|
||||
if [ ! -f /etc/openvpn/dh2048.pem ]; then
|
||||
echo $'vpn dhparams were not generated'
|
||||
|
|
Loading…
Reference in New Issue