nixcfg/cluster/prod/app/email/config/postfix/certs.gen

14 lines
230 B
Text
Raw Normal View History

2022-08-25 02:39:44 +00:00
#!/bin/bash
TLSINFO="/C=FR/ST=Bretagne/L=Rennes/O=Deuxfleurs/CN=smtp.deuxfleurs.fr"
openssl req \
-new \
-newkey rsa:4096 \
-days 3650 \
-nodes \
-x509 \
-subj ${TLSINFO} \
-keyout postfix.key \
-out postfix.crt