I'm trying to perform MITM between a remote server and IoT internet bridge device but even though I set add_upstream_certs_to_client_chain=true, I'm still getting 'The client may not trust the proxy's certificate' error so basically it means proxy does not use upstream certificate against client.
This is how I run mitmproxy:
--mode transparent --ssl-insecure --set add_upstream_certs_to_client_chain=true
what am I doing wrong?