Extract mitmproxy cert and run it separately

How can i find and extract the mitmproxy certificate and use it separately?