Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for TLS/SSL mutual authentication #396

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Small flake8 fix
remove trailing whitespace
bplost committed Aug 26, 2016
commit 099630fa1646de5b90ec4d5e107222a1515ca3e2
2 changes: 1 addition & 1 deletion pyftpdlib/handlers.py
Original file line number Diff line number Diff line change
@@ -3463,7 +3463,7 @@ def __repr__(self):
return FTPHandler.__repr__(self)

# Cannot be @classmethod, need instance to log
def verify_certs_callback(self, connection, x509,
def verify_certs_callback(self, connection, x509,
errnum, errdepth, ok):
if not ok:
self.log("Bad client certificate detected.")