---
title: "alpacon authority download-crt"
description: "Download a root certificate by CA name with alpacon authority download-crt. Set its destination with --out, or use download-cert as the alternate command name."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon authority download-crt

Download a certificate authority's root certificate.

## Usage

`alpacon authority download-crt AUTHORITY [flags]`

## Key facts

- Use the CA name as `AUTHORITY`.
- Choose the destination file with `--out`.
- Aliases: `download-cert`

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `-o, --out` | `string` | Path where the root certificate should be stored. | — |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Run the command

```bash
alpacon authority download-crt "Root CA" --out=/path/to/root.crt
```

Source: https://docs.alpacax.com/reference/cli/authority/download-crt/
