Syntax for custom certs in config.yaml


#1

Hi!

I don’t quite understand the syntax for defining custom certs in the config.yaml file.

This works just fine:
./mitmweb --cert digg.com=/root/.mitmproxy/customCerts/digg.com

But I’ve tried different versions of this in the conf file but cant get it to work:
certs: digg.com=/root/.mitmproxy/customCerts/digg.com
certs: “digg.com=/root/.mitmproxy/customCerts/digg.com”

Any suggestions?
Also any suggestions on supplying multiple certs?