nixcfg/cluster/prod/app/email/config/dovecot/certs.gen
2022-08-25 04:39:44 +02:00

13 lines
230 B
Bash
Executable file

#!/bin/bash
TLSINFO="/C=FR/ST=Bretagne/L=Rennes/O=Deuxfleurs/CN=imap.deuxfleurs.fr"
openssl req \
-new \
-newkey rsa:4096 \
-days 3650 \
-nodes \
-x509 \
-subj ${TLSINFO} \
-keyout dovecot.key \
-out dovecot.crt