Uninstall

At a glance
Goal: Remove Dev Proxy from system
Time: 5 minutes
Plugins: None
Prerequisites: Dev Proxy installed

If you want to remove Dev Proxy from your machine, follow these steps.

Uninstall Dev Proxy by running in the command prompt:

winget uninstall DevProxy.DevProxy

Uninstall Dev Proxy by running in the command prompt:

brew uninstall dev-proxy
  1. Remove the Dev Proxy certificate from your machine > devproxy cert remove. For more information, see cert remove.
  2. Uninstall Dev Proxy by deleting the Dev Proxy installation folder
  3. Remove Dev Proxy from your system path
    1. Open your shell profile in a text editor > ~/.bashrc.
    2. Update PATH environment variable.
    3. Reload your profile > source ~/.bashrc.

Dev Proxy Certificate Uninstallation

If you haven't removed the Dev Proxy certificate automatically during uninstallation, follow these steps to remove it manually:

  1. Open Start Menu.
  2. In the search box, type Manage user certificates.
  3. Select Manage user certificates that appears in the search list. This opens the Certificates - Current User window.
  4. Remove the certificate from the Trusted Root Certification Authorities store:
    1. In the navigation pane on the left, expand the Trusted Root Certification Authorities folder.
    2. Select the Certificates subfolder.
    3. In the central pane, locate and select the Dev Proxy CA certificate.
    4. Press the Delete key on your keyboard, or right-click the certificate and choose Delete from the context menu.
    5. When prompted to confirm the deletion, select Yes.
  5. If you used Dev Proxy v3 or earlier, also remove the certificate from the Personal store. Dev Proxy v4 and later don't install the certificate in this store:
    1. In the navigation pane on the left, expand the Personal folder.
    2. Select the Certificates subfolder.
    3. In the central pane, locate and select the Dev Proxy CA certificate.
    4. Press the Delete key on your keyboard, or right-click the certificate and choose Delete from the context menu.
    5. When prompted to confirm the deletion, select Yes.
  1. Open Spotlight by pressing Command + Space.
  2. Open Keychain Access by typing Keychain Access and pressing Return.
  3. Switch to the My Certificates category.
  4. In the list of certificates, find the Dev Proxy CA certificate.
  5. Right-click on the certificate, from the context menu that appears, select Delete "Dev Proxy CA", and confirm the deletion.
  6. Open Finder, locate the ~/Library/Application Support/dev-proxy folder.
  7. Remove the dev-proxy folder by opening the context menu and selecting Move to Trash.

The following steps are for Debian/Ubuntu. On Fedora/RHEL and Arch, remove the certificate from the CA anchors folder listed in cert ensure and run sudo update-ca-trust extract.

  1. Remove the certificate. Dev Proxy v4.1.0 and later save it as devproxy-ca.crt. If you trusted the certificate manually, it might be named dev-proxy-ca.crt.

    sudo rm -f /usr/local/share/ca-certificates/devproxy-ca.crt /usr/local/share/ca-certificates/dev-proxy-ca.crt
    
  2. Update certificates

    sudo update-ca-certificates --fresh
    
  3. If you added the certificate to the NSS database used by Chrome, remove it. Depending on your setup, the database is in ~/.pki/nssdb or ~/.local/share/pki/nssdb.

    certutil -D -d sql:$HOME/.pki/nssdb -n "Dev Proxy CA"
    

See also