forked from Deuxfleurs/nixcfg
13 lines
230 B
Bash
Executable file
13 lines
230 B
Bash
Executable file
#!/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
|
|
|