aboutsummaryrefslogtreecommitdiff
path: root/app_config/configuration/email/dovecot/certs.gen
blob: f26e917680ef9f73d63a9ca0f4a66f65774677f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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