# 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 distribution 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 distribution for which you want to create a certificate.
3. Choose the Https tab.
4. Click on “Create certificate”.
5. Enter the domain name (example.com, app.example.com) that you want to use with the certificate.
6. Choose Create.

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: 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://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>
```

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.
