Can mitmproxy terminate TLS for itself?

I want clients to connect to mitmproxy using TLS, i.e. http_proxy=

I know mitmproxy has support for intercepting HTTPS connections through the proxy, but I’m talking about the incoming connection to the proxy. Where would I configure the certificate for this?

I see, I can use and connect via HTTPS to the proxy