> For the complete documentation index, see [llms.txt](https://docs.flashedgecdn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashedgecdn.com/flashedge-cdn-distribution-tutorials/setting-up-https-with-a-custom-domain/creating-an-ssl-tls-certificate-for-flashedge-distribution.md).

# Creating an SSL/TLS certificate for FlashEdge distribution

When you create a certificate, you **specify the primary (apex) domain name or subdomain** for the certificate, such as example.com or app.example.com.

When you create a certificate for domain example.com, you'll **automatically receive a certificate with a wildcard for subdomains (\*.example.com), allowing you to use your FlashEdge CDN zone with any subdomain**. This is also applicable to lower-level domains, so if you create a certificate for app.example.com, you’ll automatically get the certificate for \*.app.example.com.

After you update the DNS record of your domain to point to your distribution, your distribution accepts the traffic and serves your content using HTTPS.

Complete the following procedure to create an SSL/TLS certificate for your distribution.

1. Sign in to the FlashEdge.
2. Choose the CDN zone for which you want to create a certificate.
3. Choose the Domain tab.
4. Fill in your Custom domain (example.com, or any subdomain)
5. Click on “Add Domain”.

Your certificate request is submitted, and the status of your new certificate is changed to PENDING\_VALIDATION. During this time, FlashEdge waits for you to add a validation CNAME record to the DNS of the primary domain.

For more information, see Validating FlashEdge domain.


---

# 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.flashedgecdn.com/flashedge-cdn-distribution-tutorials/setting-up-https-with-a-custom-domain/creating-an-ssl-tls-certificate-for-flashedge-distribution.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.
