summaryrefslogtreecommitdiffstats
path: root/debian/dovecot-openssl.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dovecot-openssl.cnf')
-rw-r--r--debian/dovecot-openssl.cnf23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/dovecot-openssl.cnf b/debian/dovecot-openssl.cnf
new file mode 100644
index 0000000..90bf50c
--- /dev/null
+++ b/debian/dovecot-openssl.cnf
@@ -0,0 +1,23 @@
+#
+# SSLeay configuration file for Dovecot.
+#
+
+RANDFILE = /dev/urandom
+
+[ req ]
+default_bits = 2048
+default_keyfile = privkey.pem
+distinguished_name = req_distinguished_name
+prompt = no
+policy = policy_anything
+req_extensions = v3_req
+x509_extensions = v3_req
+
+[ req_distinguished_name ]
+organizationName = Dovecot mail server
+organizationalUnitName = @commonName@
+commonName = @commonName@
+emailAddress = @emailAddress@
+
+[ v3_req ]
+basicConstraints = CA:FALSE