> For the complete documentation index, see [llms.txt](https://hatchbox.gitbook.io/hatchbox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hatchbox.gitbook.io/hatchbox/apps/ssl.md).

# SSL

## How do I enable SSL on my server?

First step, you'll want to add your domains to your app in Hatchbox on the Domains tab. This helps NGINX sort requests that come to your server to the correct app and it gives us a list of domains to register with Let's Encrypt.

You can enable SSL in one of three ways:

* Let's Encrypt
* Let's Encrypt with wildcard support
* Custom SSL

## Do you support Let's Encrypt wildcard certificates?

Yep! Wildcard certificates require a DNS validation, so you must have your domain managed by one of the DNS providers supported.

* DigitalOcean
* Cloudflare
* AWS Route53

## Can I use an SSL certificate I purchased from somewhere else like Namecheap?

Absolutely. You'll want to upload your certificate chain and key after selecting "Custom SSL" option. Your certificate chain is your SSL certificate, plus any intermediate certificates appended into the same file. Combine the intermediate certificates and your SSL certificate into one and then paste it into the certificate box. Paste your SSL key file's contents into the key box and then click update.

These files will be uploaded to your server and NGINX will be reconfigured to use SSL pointing to those certificates.


---

# 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://hatchbox.gitbook.io/hatchbox/apps/ssl.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.
