summaryrefslogtreecommitdiff
path: root/ejabberd/mkdhparams.sh
blob: 76231410f1265ee6a59ac640df62dc93b518f563 (plain)
  1. #!/bin/sh
  2. set -eu
  3. CONTEXT=${1:-ejabberd}
  4. openssl dhparam -out "/etc/ejabberd/$CONTEXT.dh.pem" 4096