cert remove

Removes the certificate that Dev Proxy uses for decrypting SSL traffic from Root Store.

Synopsis

devproxy cert remove [options]

Options:
  -f, --force            Force certificate removal without confirmation
  --log-level <level>    Logging level: trace|debug|information|warning|error
  -h, --help             Show help

Usage

devproxy cert remove

Arguments

None

Options

Name Description Allowed values Default
-f, --force Force the root certificate removal without confirmation. Required in non-interactive mode (CI environments, piped stdin).
--log-level <loglevel> Level of messages to log trace, debug, information, warning, error information

Linux

On Linux, the command undoes what cert ensure does:

  • Removes devproxy-ca.crt from the CA anchors folder of your distribution and refreshes the system certificate store. If you previously trusted the certificate manually as dev-proxy-ca.crt and that file contains the Dev Proxy certificate, Dev Proxy removes it too. These commands run with sudo, so you might be asked for your password.
  • If certutil is installed, removes the Dev Proxy CA certificate from the NSS databases in ~/.pki/nssdb and ~/.local/share/pki/nssdb. If certutil isn't installed, Dev Proxy shows a warning to remove the certificate manually.

The command exits with an error if Dev Proxy can't update the system certificate store, for example, because sudo needs a password and there's no terminal to ask for it, or if it can't remove the certificate from an NSS database. To finish removing the certificate, run devproxy cert remove in an interactive terminal.

If Dev Proxy doesn't recognize your distribution, it shows a warning to remove the certificate from your trust store manually.

See also