Add support for ssl client certificates

This patch adds sslclientcert and sslclientkey configuration
  options which are passed through to imaplib in order to allow
  the use of client certificates for authentication.

Tue Nov 13 14:44:17 CST 2007  Mark Hymers <mhy@debian.org>
This commit is contained in:
Mark Hymers
2008-05-23 14:58:18 -05:00
committed by John Goerzen
parent 3c7edc2e4d
commit ca08c1e553
3 changed files with 22 additions and 3 deletions

View File

@ -125,6 +125,12 @@ class IMAPRepository(BaseRepository):
def getssl(self):
return self.getconfboolean('ssl', 0)
def getsslclientcert(self):
return self.getconf('sslclientcert', None)
def getsslclientkey(self):
return self.getconf('sslclientkey', None)
def getpreauthtunnel(self):
return self.getconf('preauthtunnel', None)