…icense. Thanks to Roy Shamir for reporting this.
This is useful when you just want to inspect or process dumps.
For now, we don't do anything with the serialized version info, but this should give us some future-proofing for serialization format changes.
95% test coverage.
This means that certificates don't accumulate in the conf directory, users don't have to clear certificates if the CA is regenerated, and the user can specify a custom CA without invalid certificates being loaded inadvertently.
- Use templates for config files. We can re-introduce customization of the certificate attributes when we need them. - Split CA and cert generation into separate functions. - Generation methods provide an error return when generation fails. - When the user explicitly specifies a certificate, we don't generate it, but fail if it doesn't exist.
Use this only in mitmdump and mitmproxy for now.