forked from Deuxfleurs/infrastructure
14 lines
230 B
Text
14 lines
230 B
Text
|
#!/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
|
||
|
|