]>
jfr.im git - vpn-prov.git/blob - easy-rsa/build-dh
4beb127fd8459f0a82ccb890f8f2112dd2b46123
3 # Build Diffie-Hellman parameters for the server side
4 # of an SSL/TLS connection.
6 if [ -d $KEY_DIR ] && [ $KEY_SIZE ]; then
7 $OPENSSL dhparam
-out ${KEY_DIR}/dh
${KEY_SIZE}.pem
${KEY_SIZE}
9 echo 'Please source the vars script first (i.e. "source ./vars")'
10 echo 'Make sure you have edited it to reflect your configuration.'