I see errors trying to download some https URLs using python, but the
base ftp client isn't affected. 5.6 release and current. One example is 
https://www.duosecurity.com/feed.

athens:/tmp> python2.7
Python 2.7.8 (default, Oct  6 2014, 13:51:42) 
[GCC 4.2.1 20070719 ] on openbsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> urllib.urlopen('https://www.duosecurity.com/feed')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/urllib.py", line 87, in urlopen
    return opener.open(url)
  File "/usr/local/lib/python2.7/urllib.py", line 208, in open
    return getattr(self, name)(url)
  File "/usr/local/lib/python2.7/urllib.py", line 437, in open_https
    h.endheaders(data)
  File "/usr/local/lib/python2.7/httplib.py", line 991, in endheaders
    self._send_output(message_body)
  File "/usr/local/lib/python2.7/httplib.py", line 844, in _send_output
    self.send(msg)
  File "/usr/local/lib/python2.7/httplib.py", line 806, in send
    self.connect()
  File "/usr/local/lib/python2.7/httplib.py", line 1198, in connect
    self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
  File "/usr/local/lib/python2.7/ssl.py", line 392, in wrap_socket
    ciphers=ciphers)
  File "/usr/local/lib/python2.7/ssl.py", line 148, in __init__
    self.do_handshake()
  File "/usr/local/lib/python2.7/ssl.py", line 310, in do_handshake
    self._sslobj.do_handshake()
IOError: [Errno socket error] [Errno 1] _ssl.c:510: error:14077410:SSL 
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
>>> 

athens:/tmp> ftp https://www.duosecurity.com/feed
Trying 54.192.22.134...
Requesting https://www.duosecurity.com/feed
118278 bytes received in 0.17 seconds (673.14 KB/s)

Reply via email to