Watch Aspire live streamsDokumentasiCoba Aspire
Watch Aspire live streamsDokumentasiCoba

aspire certs trust command

Konten ini belum tersedia dalam bahasa Anda.

aspire certs trust - Trust the HTTPS development certificate, creating one if necessary.

Aspire CLI
aspire certs trust [options]

The aspire certs trust command trusts the HTTPS development certificate used by Aspire. If a certificate doesn’t already exist, Aspire creates one before trusting it.

Use this command when you want to prepare a machine for Aspire local development or re-establish trust after cleaning development certificates.

On Linux, you can override which NSS databases the CLI trusts through the certificates.nssDbPaths configuration setting, for example when Firefox or Chromium profiles live outside their usual locations.

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.

  • Trust the Aspire HTTPS development certificate:

    Aspire CLI
    aspire certs trust
  • Trust the certificate non-interactively, for example on a Linux CI runner:

    Aspire CLI
    aspire certs trust --non-interactive