Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Proxyman is unable to intercept HTTPS after re-installing new Proxyman Certificate #37

Closed
NghiaTranUIT opened this issue Feb 24, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NghiaTranUIT
Copy link
Member

馃惗 Brief

Proxyman is unable to intercept HTTPS after re-installing new Proxyman Certificate.

Reproduce steps

  1. Install Certificate and Intercept any https request successfully
  2. Don't close app, then opening the Keychain and delete Proxyman CA certificate
  3. Back to Proxyman, the app present the error status -> Correct behavior at Content layout settings are not persisted聽#334
  4. Install new certificate
  5. Reload the https request
  6. Still get error 馃挜 until restarting the app and try again -> work

Problem

It reveals that CertificateService is still remaining the CertificateIdentity list in memory and disk, so the next time we try intercepting the https request with new Proxyman CA Certificate, it won't work since the chain certificate doesn't match.

馃憫 Criteria

  • Able to intercept immediately after re-installing the certificate without restarting the app
  • Delete all Leaf certificates in memory and disk after installing new certificate.
@NghiaTranUIT NghiaTranUIT self-assigned this Feb 24, 2019
@NghiaTranUIT NghiaTranUIT added this to the Proxyman 1.3.1 milestone Feb 24, 2019
@NghiaTranUIT NghiaTranUIT added the bug Something isn't working label Feb 24, 2019
@NghiaTranUIT
Copy link
Member Author

Done 馃

馃く Changelogs

  • Remove cached when installing new Certificate
  • Remove side-effect in InstallCA func.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant