# How to intercept HTTPS query from a local machine without proxy?

**URL:** <https://discourse.mitmproxy.org/t/how-to-intercept-https-query-from-a-local-machine-without-proxy/1491>\
**Category:** help\
**Created:** [April 2, 2019, 11:04am UTC](https://discourse.mitmproxy.org/t/how-to-intercept-https-query-from-a-local-machine-without-proxy/1491 "2019-04-02T11:04:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DGolubets](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/dgolubets/32/413_2.png) [@DGolubets](https://discourse.mitmproxy.org/u/DGolubets)\
**Post date:** [April 2, 2019, 11:04am UTC](https://discourse.mitmproxy.org/t/how-to-intercept-https-query-from-a-local-machine-without-proxy/1491/1 "2019-04-02T11:04:27Z")

</div>

I want to debug a query made by a HTTP library that uses OpenSSL for HTTPS (to Google APIs). Unfortunately it doesn’t support a proxy.

My guess was that reverse proxy mode should work for me. But the library is not happy, throwing “padding check failed” at me.

I have mitmproxy certificate installed as in docs. But when I opened the proxied url in Firefox it warned me that it doesn’t trust the certificate. The certificate for some reason is bound to google domains (though I opened localhost…?).

Am I missing something simple?
