# CA Hierarchy

The first UI for the Operator is CA Hierarchy. CA Hierarchy is used to display the hierarchical view of CA Certificates (Root and Sub CA certificates). CA Hierarchy defines the certificate chain for each sub-hierarchy in a tree structure where the left-most level is the Root level.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2F3KGIKZkn77h8zJ5fh29N%2Fimage.png?alt=media&#x26;token=2037521c-6d57-4e97-aa18-e61b677eadfa" alt=""><figcaption></figcaption></figure>

&#x20;By clicking on a particular CA certificate, the Auditor can

* View certificate details
* Export certificates

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FgSh5EY5IBrvlOsEQa60S%2Fimage.png?alt=media&#x26;token=76fdd074-5ada-4e2a-a636-ff9f2c517fb1" alt=""><figcaption></figcaption></figure>

For larger sets of CAs, there is also a Search field located above the CA hierarchy. The Search field filters for matching CA names depending on the user input.

By clicking Export on the right side of the detail view, the user can export the CA certificate as

* DER-encoded X.509 certificate (.cer)
* Base64-encoded X.509 certificate (.cer)
* Cryptographic Message Syntax Standard PKCS#7 certificate (.p7b)

The following pop-up dialog will be displayed to select the export format:

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2F1etXcqTSKtPE83hafG1P%2Fimage.png?alt=media&#x26;token=db9c7300-254f-4dd0-811e-3bdb5f363416" alt="" width="257"><figcaption></figcaption></figure>

Select the export format of your choice and click Download to start the download of the CA certificate. The CA certificate will be downloaded to the standard download location of your OS


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://emca.emudhra.com/previous-release-versions/v4.2.2/user-manual/operator/ca-hierarchy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
