Running Fiddler to Capture Python Requests

2 posts, 0 answers
  1. daniel
    daniel avatar
    1 posts
    Member since:
    May 2018

    Posted 02 May 2018 Link to this post


    I'm having trouble getting fiddler to decrypt https traffic with the Requests library in python.  I have an application that is structured like Chrome --> iis --> python --> --> API Server.  Running my application from localhost, it captures the traffic from Chrome --> iis, I need python --> API server.  However, when I attempt the request directly from my IDE it captures python --> API server but the initial POST command to get the necessary token returns this exception:

    "(Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))" .  

    I have added the fiddler cert and have confirmed it is in my trusted root certificates in mmc.  This request works as expected when I do NOT have fiddler running.

    Any guidance would be much appreciated I have spent a lot of time searching the web for answers.

    Thank you in advance,


  2. Alexander
    Alexander avatar
    383 posts

    Posted 09 May 2018 Link to this post


    It seems that python do not use the certificate store provided by Windows. I would suggest to go ahead and check which certificate store python uses and add Fiddler's root certificate there.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top