mtls export CLI command reference
Detailed information on the mtls export CLI command
The documentation you are viewing is for Dapr v1.8 which is an older version of Dapr. For up-to-date documentation, see the latest version.
Check if mTLS is enabled.
dapr mtls [flags]
dapr mtls [command]
Name | Environment Variable | Default | Description |
---|---|---|---|
--help , -h |
Print this help message | ||
--kubernetes , -k |
false |
Check if mTLS is enabled in a Kubernetes cluster |
expiry Checks the expiry of the root Certificate Authority (CA) certificate
export Export the root Certificate Authority (CA), issuer cert and issuer key to local files
renew-certificate Rotates the existing root Certificate Authority (CA), issuer cert and issuer key
You can learn more about each sub command from the links below.
# Check if mTLS is enabled on the Kubernetes cluster
dapr mtls -k
This command can issue warning messages.
If the mtls root certificate deployed to the Kubernetes cluster expires in under 30 days the following warning message is displayed:
Dapr root certificate of your Kubernetes cluster expires in <n> days. Expiry date: <date:time> UTC.
Please see docs.dapr.io for certificate renewal instructions to avoid service interruptions.
Detailed information on the mtls export CLI command
Detailed information on the mtls expiry CLI command
Detailed information on the mtls renew certificate CLI command
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.