1. Zhang Huangbin
  2. iredmail

Source

iredmail / iRedMail / tools / generate_ssl_keys.sh

Diff from to

File iRedMail/tools/generate_ssl_keys.sh

  • Ignore whitespace
 export SSL_KEY_FILE="${ROOTDIR}/private/iRedMail.key"
 
 # Create SSL certs/private files.
-gen_pem_key()
+generate_ssl_keys()
 {
     # Create necessary directories.
     mkdir -p {certs,private} 2>/dev/null
     chmod 0444 ${SSL_KEY_FILE}
 }
 
-gen_pem_key && cat <<EOF
+generate_ssl_keys && cat <<EOF
 SSL keys were generated:
     - ${SSL_CERT_FILE}
     - ${SSL_KEY_FILE}