[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787410: PTS: SOAPpy scripts contacting the BTS fail to verify SSL



Package: qa.debian.org
Severity: normal
User: qa.debian.org@packages.debian.org
Usertags: pts ssl
Tags: help

Since the upgrade to jessie, the calls to the BTS made by the PTS using
SOAPpy are crashing as they cannot verify the SSL cert in /etc/ssl/certs
directly and require a CA cert to be present instead. There is no known
workaround for this issue with SOAPpy yet, help is welcome.

https://wiki.debian.org/ServicesSSL

Traceback (most recent call last):
  File "/srv/packages.qa.debian.org/www/bin/tagged_bugs.py", line 67, in <module>
    print_bug_summary(find_tagged(sys.argv[1]))
  File "/srv/packages.qa.debian.org/www/bin/tagged_bugs.py", line 52, in find_tagged
    bugs = get_bugs('tag', tag)
  File "/srv/packages.qa.debian.org/www/bin/tagged_bugs.py", line 27, in get_bugs
    result = server.get_bugs(*args)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 545, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 567, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 430, in __call
    timeout = self.timeout)
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 244, in call
    r.endheaders()
  File "/usr/lib/python2.7/httplib.py", line 997, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 850, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 812, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 1212, in connect
    server_hostname=server_hostname)
  File "/usr/lib/python2.7/ssl.py", line 350, in wrap_socket
    _context=self)
  File "/usr/lib/python2.7/ssl.py", line 566, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 788, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: