# Mitproxy as HTTPS Proxy

**URL:** <https://discourse.mitmproxy.org/t/mitproxy-as-https-proxy/1155>\
**Category:** help\
**Created:** [August 4, 2018, 5:11pm UTC](https://discourse.mitmproxy.org/t/mitproxy-as-https-proxy/1155 "2018-08-04T17:11:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafareyes7](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/rafareyes7/32/328_2.png) [@rafareyes7](https://discourse.mitmproxy.org/u/rafareyes7)\
**Post date:** [August 4, 2018, 5:11pm UTC](https://discourse.mitmproxy.org/t/mitproxy-as-https-proxy/1155/1 "2018-08-04T17:11:25Z")

</div>

I’m using mitmproxy to intercept traffic, HTTP Traffic is being intercepted but HTTPS traffic is not being intercepted for some reason (?)

Using the default config with the command

```auto
mitmweb
Web server listening at http://127.0.0.1:8081/
Proxy server listening at http://*:8080

```

How can I set a config for a HTTPS proxy?

---

<div class="post-metadata">

**Author:** ![KORraN](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@KORraN](https://discourse.mitmproxy.org/u/KORraN)\
**Post date:** [August 5, 2018, 9:20am UTC](https://discourse.mitmproxy.org/t/mitproxy-as-https-proxy/1155/2 "2018-08-05T09:20:28Z")

</div>

If you have [installed mitmproxy’s certificate](https://docs.mitmproxy.org/stable/concepts-certificates/) it should work out of the box. If it’s not, write something more about your use case (proxy set in global OS setting? or in-app settings).
