jamesridgway/attachment-downloader

[SSL: CERTIFICATE_VERIFY_FAILED]

Closed this issue · 2 comments

Hi
Is any way to passing this error ?
2024-06-25 23:17:01,692 - INFO - Attachment Downloader - Version: 1.2.7 (Python: 3.8.10), OS: (Release: 5.4.0-182-generic, Platform: Linux-5.4.0-182-generic-x86_64-with-glibc2.29). Default Encoding: utf-8
2024-06-25 23:17:01,699 - INFO - Logging in to: '127.0.0.1' as 'webmaster@example.com'
Traceback (most recent call last):
File "/usr/local/bin/attachment-downloader", line 177, in
mail = Imbox(options.host,
File "/usr/local/lib/python3.8/dist-packages/imbox/imbox.py", line 21, in init
self.server = ImapTransport(hostname, ssl=ssl, port=port,
File "/usr/local/lib/python3.8/dist-packages/imbox/imap.py", line 18, in init
self.server = IMAP4_SSL(self.hostname, self.port, ssl_context=ssl_context)
File "/usr/lib/python3.8/imaplib.py", line 1297, in init
IMAP4.init(self, host, port)
File "/usr/lib/python3.8/imaplib.py", line 198, in init
self.open(host, port)
File "/usr/lib/python3.8/imaplib.py", line 1310, in open
IMAP4.open(self, host, port)
File "/usr/lib/python3.8/imaplib.py", line 303, in open
self.sock = self._create_socket()
File "/usr/lib/python3.8/imaplib.py", line 1301, in _create_socket
return self.ssl_context.wrap_socket(sock,
File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.8/ssl.py", line 1069, in _create
self.do_handshake()
File "/usr/lib/python3.8/ssl.py", line 1338, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.