summaryrefslogtreecommitdiffstats
path: root/doc/dovecot-openssl.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dovecot-openssl.cnf')
-rw-r--r--doc/dovecot-openssl.cnf31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/dovecot-openssl.cnf b/doc/dovecot-openssl.cnf
new file mode 100644
index 0000000..f65a80c
--- /dev/null
+++ b/doc/dovecot-openssl.cnf
@@ -0,0 +1,31 @@
+[ req ]
+default_bits = 2048
+encrypt_key = yes
+distinguished_name = req_dn
+x509_extensions = cert_type
+prompt = no
+
+[ req_dn ]
+# country (2 letter code)
+#C=FI
+
+# State or Province Name (full name)
+#ST=
+
+# Locality Name (eg. city)
+#L=Helsinki
+
+# Organization (eg. company)
+#O=Dovecot
+
+# Organizational Unit Name (eg. section)
+OU=IMAP server
+
+# Common Name (*.example.com is also possible)
+CN=imap.example.com
+
+# E-mail contact
+emailAddress=postmaster@example.com
+
+[ cert_type ]
+nsCertType = server