summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
author无闻 <u@gogs.io>2015-02-28 22:25:48 -0500
committer无闻 <u@gogs.io>2015-02-28 22:25:48 -0500
commit3db80f2c555316b92b2be0cb0a53adb37eca910a (patch)
tree1698c52fbe2aea31c48eda76909783d94794413e /conf
parenta6a2f59d1da927a1fae9d009f58e63881c4c029a (diff)
parent2692d4aa49deec286058cd2196da379a97534787 (diff)
downloadgitea-3db80f2c555316b92b2be0cb0a53adb37eca910a.tar.gz
gitea-3db80f2c555316b92b2be0cb0a53adb37eca910a.zip
Merge pull request #943 from diseaz/mailer-client-cert
Use client certificate for SMTP over TLS
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 2019557bd4..ad38c42e71 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -105,6 +105,10 @@ SUBJECT = %(APP_NAME)s
HOST =
; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY =
+; Use client certificate
+USE_CERTIFICATE = false
+CERT_FILE = custom/mailer/cert.pem
+KEY_FILE = custom/mailer/key.pem
; Mail from address, RFC 5322. This can be just an email address, or the "Name" <email@example.com> format
FROM =
; Mailer user name and password