WhisperBack cannot send reports since Sep 10: expired (pinned) certificate
Originally created by @numbat on #17110 (Redmine)
Whisperback can’t send bug reports. Users have reported this and we’ve noticed this first hand as well.
amnesia@amnesia:~$ whisperback
[WARNING] whisperback.py:150 __load_conf: Failed to load conf /home/amnesia/.whisperback/config.py
[WARNING] whisperback.py:150 __load_conf: Failed to load conf /home/amnesia/config.py
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/whisperBack/whisperback.py", line 245, in save_exception
func(*args)
File "/usr/lib/python3/dist-packages/whisperBack/mail.py", line 77, in send_message_tls
(resp, reply) = smtp.starttls(context=ssl_context)
File "/usr/lib/python3.5/smtplib.py", line 766, in starttls
server_hostname=self._host)
File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 760, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:720)
Feature Branch: bugfix/17110-whisperback-drop-tls;whisperback:bugfix/17110-whisperback-drop-tls
Related issues
- Has duplicate sysadmin#17120 (closed)
Edited by numbat