Currently, installCertificateAuthority() and removeCertificateAuthority() expect the CA certificate to be in PEM format[^1]. It wouldn't be hard to also handle DER certificates[^2]. Do we want to do that?
[^1]: Mostly, because certificates on Android are stored as PEM, and the CA mitmproxy produces is conveniently also PEM.
[^2]: That's how iOS stores its CAs.
No, I don’t think so. If people use appstraction in a script, it is trivial to convert and we will only ever use PEM in cyanoacrylate (if that ever changes, we can just add that in I guess).
Currently,
installCertificateAuthority()
andremoveCertificateAuthority()
expect the CA certificate to be in PEM format[^1]. It wouldn't be hard to also handle DER certificates[^2]. Do we want to do that?[^1]: Mostly, because certificates on Android are stored as PEM, and the CA mitmproxy produces is conveniently also PEM. [^2]: That's how iOS stores its CAs.