From 61d009f18d5886db8b22ae41e04bb41a4ba2fddb Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 1 Jun 2019 16:02:49 +0200 Subject: Initial commit --- consul/configuration/email/postfix/certs.gen | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 consul/configuration/email/postfix/certs.gen (limited to 'consul/configuration/email/postfix/certs.gen') diff --git a/consul/configuration/email/postfix/certs.gen b/consul/configuration/email/postfix/certs.gen new file mode 100755 index 0000000..f25439b --- /dev/null +++ b/consul/configuration/email/postfix/certs.gen @@ -0,0 +1,13 @@ +#!/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 + -- cgit v1.2.3