How could I test hostname validation?

Hi, there

I would like to perform Certificate Validation in SSL/TLS Implementations on Mobile Apps.

  • Hostname validation (e.g. Wrong Hostname)
  • Expired Certificate validation

Is there something out-of-box from mitmproxy?

I understand mitmproxy allows custom certificate (Ref: Certificates). But it requires tedious process to generate your own CA, and certificates.

It would be great if mitmproxy supports it.