A fix for the SASL EXTERNAL. Thanks to Calmar. Fixes #5704
This commit is contained in:
parent
6bf8a13a26
commit
5d56decdc4
|
@ -355,6 +355,7 @@ class NonBlockingTLS(PlugIn):
|
|||
# If we are going to use a client cert/key pair for authentication,
|
||||
# we choose TLSv1 method.
|
||||
tcpsock._sslContext = OpenSSL.SSL.Context(OpenSSL.SSL.TLSv1_METHOD)
|
||||
client_cert_path = self._owner._owner._caller.client_cert
|
||||
log.debug('Using client cert and key from %s' % conn.client_cert)
|
||||
try:
|
||||
p12 = OpenSSL.crypto.load_pkcs12(open(client_cert_path).read())
|
||||
|
|
Loading…
Reference in New Issue