[GH-ISSUE #184] [BUG] Reset certificate doesn't clear the cert file #185

Open
opened 2026-03-03 19:49:04 +03:00 by kerem · 0 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Feb 4, 2023).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/184

Originally assigned to: @kics223w1 on GitHub.

Description

Currently, "Reset the certificate" doesn't actually delete the current certificate.

Steps to Reproduce

  1. Open Proxyman for Windows -> Certificate -> Install Certificate for Windows
  2. Visit the certificate at ~/Library/Application Support/Proxyman/certificate/certs/ca.pem (macOS). On Windows, it's on the Roaming folder.
  3. Certificate Menu -> Reset certificate -> Enter Sudo password.
  4. The certificate at ~/Library/Application Support/Proxyman/certificate/certs/ca.pem is still there

Current Behavior

  • Reset certificate doesn't clear the old certificate.

Expected Behavior

  • Delete an entire folder ~/Library/Application Support/Proxyman/certificate
  • Stop and Start the Proxy Core to make sure it generates a new certificate => It's a flaw from the node-mitm-proxy design, as soon as the core is started, it automatically loads or generates a new ca.pem file.
  • Since we delete the ca.pem, stop & start the core will do the trick
  • Then, open Certificate Menu -> Install for Windows
  • Go to Preference -> Make sure it's a new certificate is loaded
  • Try to proxy some domains and verify it works.
Originally created by @NghiaTranUIT on GitHub (Feb 4, 2023). Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/184 Originally assigned to: @kics223w1 on GitHub. ## Description Currently, "Reset the certificate" doesn't actually delete the current certificate. ## Steps to Reproduce 1. Open Proxyman for Windows -> Certificate -> Install Certificate for Windows 2. Visit the certificate at `~/Library/Application Support/Proxyman/certificate/certs/ca.pem` (macOS). On Windows, it's on the Roaming folder. 3. Certificate Menu -> Reset certificate -> Enter Sudo password. 4. The certificate at `~/Library/Application Support/Proxyman/certificate/certs/ca.pem` is still there ❌ ## Current Behavior - Reset certificate doesn't clear the old certificate. ## Expected Behavior - Delete an entire folder `~/Library/Application Support/Proxyman/certificate` - Stop and Start the Proxy Core to make sure it generates a new certificate => It's a flaw from the `node-mitm-proxy` design, as soon as the core is started, it automatically loads or generates a new `ca.pem` file. - Since we delete the `ca.pem`, stop & start the core will do the trick - Then, open Certificate Menu -> Install for Windows - Go to Preference -> Make sure it's a new certificate is loaded - Try to proxy some domains and verify it works.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxyman-windows-linux#185
No description provided.