> For the complete documentation index, see [llms.txt](https://docs.astrakode.tech/akb-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astrakode.tech/akb-wiki/astrakode-wiki/network-composer/components/certificate-authority.md).

# Certificate Authority

## Introduction

A Certificate Authority (CA) is a Network entity that issues certificates and takes care of their renewal and revocation. A CA can issue certificates for MSP or TLS (or both). The first type of certificate is associated with an Organization’s Membership Services Provider (MSP) structure, which defines the roles and identities for an Organization. TLS certificates are instead related to a protection protocol to communicate across a network in a way designed to prevent tampering and/or eavesdropping. MSP certificates are mandatory, whereas TLS certificates are not mandatory but strongly advised (their use is enabled by default in a Hyperledger Fabric network created with AKB). When creating an Organization to add to your network, you must also define at least one Certificate Authority (CA) for that Organization. If you define only a single CA, bear in mind that it should be set to issue both types of certificates. Along the same lines, if you define two CAs, one should be dedicated to MSP, and the other to TLS.

<figure><img src="https://t-images.imgix.net/https%3A%2F%2Fapp-us-east-1.t-cdn.net%2F5f96e1a6e5864f172c21948d%2Fposts%2F61e5a40087d5e2d3fb6f4a26%2F61e5a40087d5e2d3fb6f4a26_42526.png?width=1240&#x26;w=1240&#x26;auto=format%2Ccompress&#x26;ixlib=js-2.3.1&#x26;s=3076b8fdc030e23b58c9b977ce743f4f" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/T8F4q2J2p095rgExFi9V" alt=""><figcaption></figcaption></figure>

## Configuration

While configuring the CA, bear in mind these definitions for a correct setting:

* **Name**: must contain only alphanumeric characters or '\_' and be 20 characters at most"
* **Type**: defines whether this CA is used for issuing TLS certificates, MSP certificates, or both
* **IP Address**: defines the IP address for the machine on which the CA's Docker container will be deployed. Numeric IPv4 format is advised
* **Port**: defines the port at which the CA can be reached; Port must be numeric and within acceptable range \[100 - 35000]


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.astrakode.tech/akb-wiki/astrakode-wiki/network-composer/components/certificate-authority.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
