Skip to content

[Self-Signed] Can't proxy https site with self-signed cert #614

@uuund3rfl0w

Description

@uuund3rfl0w
Process Threadless-2:1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/core/acceptor/threadless.py", line 175, in run
    self.run_once()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/core/acceptor/threadless.py", line 165, in run_once
    self.loop.run_until_complete(self.wait_for_tasks(tasks))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/core/acceptor/threadless.py", line 98, in wait_for_tasks
    teardown = await asyncio.wait_for(tasks[work_id], DEFAULT_TIMEOUT)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/core/acceptor/threadless.py", line 89, in handle_events
    return self.works[fileno].handle_events(readables, writables)
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/http/handler.py", line 152, in handle_events
    teardown = self.handle_readables(readables)
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/http/handler.py", line 298, in handle_readables
    upgraded_sock = plugin.on_request_complete()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/http/proxy/server.py", line 350, in on_request_complete
    return self.intercept()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/http/proxy/server.py", line 522, in intercept
    self.wrap_server()
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/http/proxy/server.py", line 549, in wrap_server
    self.server.wrap(text_(self.request.host), self.flags.ca_file)
  File "/usr/local/lib/python3.8/dist-packages/proxy.py-2.3.1-py3.8.egg/proxy/core/connection/server.py", line 44, in wrap
    self._conn = ctx.wrap_socket(
  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 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)

Metadata

Metadata

Assignees

Labels

Awaiting ResponseWaiting for more information / response from issue creatorBugBug report in proxy server

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions