mtls export CLI command reference

Detailed information on the mtls export CLI command

Description

Export the root Certificate Authority (CA), issuer cert and issuer key to local files

Supported platforms

Usage

  1. dapr mtls export [flags]

Flags

NameEnvironment VariableDefaultDescription
—help, -hhelp for export
—out, -ocurrent directoryThe output directory path to save the certs

Examples

  1. # Check expiry of Kubernetes certs
  2. dapr mtls export -o ./certs

Warning messages

This command can issue warning messages.

Root certificate renewal warning

If the mtls root certificate deployed to the Kubernetes cluster expires in under 30 days the following warning message is displayed:

  1. Dapr root certificate of your Kubernetes cluster expires in <n> days. Expiry date: <date:time> UTC.
  2. Please see docs.dapr.io for certificate renewal instructions to avoid service interruptions.

Last modified April 1, 2022: Addressing review comments (72af4c74)