Python FTP-SSL / FTP-TLS: Verifying Public Certificate? -


i'm using python 2.7.5 (not 3.x) , need verify ftps (ftp-tls) public certificate. is, want verify against standard certificate authority, not custom key. (similar https.)

i see options cannot them work: ftp_tls() class doesn't seem offer ability verify certificates, unless i'm mistaken: class ftplib.ftp_tls([host[, user[, passwd[, acct[, keyfile[, certfile[, timeout]]]]]]])

i've read certifi , m2crypto, while can connect , transfer using ftp/tls, can't seem find way verify certificate.

also, don't think able use curl libraries in case :( note.

let's try make possible answer: http://heikkitoivonen.net/blog/2008/10/14/ssl-in-python-26


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -