您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build-dh 354B

1234567891011
  1. #!/bin/bash
  2. # Build Diffie-Hellman parameters for the server side
  3. # of an SSL/TLS connection.
  4. if [ -d $KEY_DIR ] && [ $KEY_SIZE ]; then
  5. $OPENSSL dhparam -out ${KEY_DIR}/dh${KEY_SIZE}.pem ${KEY_SIZE}
  6. else
  7. echo 'Please source the vars script first (i.e. "source ./vars")'
  8. echo 'Make sure you have edited it to reflect your configuration.'
  9. fi