---
title: "ezgh private-ca ca csr"
description: "Print an external subordinate's CSR, for your root to sign."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh private-ca ca csr

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh private-ca ca csr <ca>
```

Print the certificate signing request of a subordinate created with `--external`, as PEM, for your own root to sign as a CA certificate (basicConstraints CA:TRUE, keyCertSign and cRLSign, keeping its subject). Then import the result with `ezgh private-ca ca import`.

Part of [`ezgh private-ca ca`](/cli/reference/private-ca-ca).

## Examples

```sh
ezgh private-ca ca csr corp-issuing > corp-issuing.csr
```

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/private-ca-ca-csr/index.mdx
