Can't use a custom certificate with python3

I want to add an SSL certificate with --cert.
With Version 0.18.2 and python 2.7 it is working e.g. with the command:
mitmdump -T --cert

But since Version 1.0 and Python 3 it doesn’t work. In a browser always the default ca certificate is shown.
(I tested it also with version 1.0.2, 2.0.0 and 2.0.1)
The documentation “Using a custom certificate” also doesn’t helped me.

Additional information:

  • Python 3.5.2
  • Ubuntu 16.04.1 LTS

So what am i doing wrong?


Let’s continue this in the GitHub issue: