mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-25 02:29:32 +02:00
17 lines
341 B
Bash
Executable File
17 lines
341 B
Bash
Executable File
#!/bin/bash
|
|
. mailcow.conf
|
|
|
|
openssl dhparam -out data/assets/ssl/dhparams.pem 2048
|
|
|
|
docker run \
|
|
--rm \
|
|
-v ${PWD}/data/assets/ssl:/certs \
|
|
ehazlett/certm \
|
|
-d /certs ca generate -o=mailcow
|
|
|
|
docker run \
|
|
--rm \
|
|
-v ${PWD}/data/assets/ssl:/certs \
|
|
ehazlett/certm \
|
|
-d /certs client generate --common-name=${MAILCOW_HOSTNAME} -o=mailcow
|