Ir al contenido
Docs Try Aspire

aspire certs command

Esta página aún no está disponible en tu idioma.

aspire certs - Manage HTTPS development certificates.

Aspire CLI
aspire certs [command] [options]

The aspire certs command manages the HTTPS development certificates used by Aspire during local development. Use it when you want to trust the development certificate explicitly or remove existing development certificates while troubleshooting HTTPS issues.

The following options are available:

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • -l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>

    Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.

  • --non-interactive

    Run the command in non-interactive mode, disabling all interactive prompts and spinners.

  • --nologo

    Suppress the startup banner and telemetry notice.

  • --banner

    Display the animated Aspire CLI welcome banner.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

The following commands are available:

CommandFunction
aspire certs cleanRemove all HTTPS development certificates.
aspire certs trustTrust the HTTPS development certificate, creating one if needed.
  • Trust the Aspire HTTPS development certificate:

    Aspire CLI
    aspire certs trust
  • Remove all local HTTPS development certificates:

    Aspire CLI
    aspire certs clean