Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
165 |
- |
1 |
#!/bin/sh
|
|
|
2 |
|
|
|
3 |
# Build Diffie-Hellman parameters for the server side
|
|
|
4 |
# of an SSL/TLS connection.
|
|
|
5 |
|
|
|
6 |
if [ -d $KEY_DIR ] && [ $KEY_SIZE ]; then
|
|
|
7 |
$OPENSSL dhparam -out ${KEY_DIR}/dh${KEY_SIZE}.pem ${KEY_SIZE}
|
|
|
8 |
else
|
|
|
9 |
echo 'Please source the vars script first (i.e. "source ./vars")'
|
|
|
10 |
echo 'Make sure you have edited it to reflect your configuration.'
|
|
|
11 |
fi
|