# 04a) SSL/TLS settings

1. To begin, we must ensure that the SSL setting in Cloudflare is set to "**Flexible**" in order for Cosmos and Let's Encrypt to work properly.
2. So head into the `SSL/TLS` menu.

<figure><img src="https://i.imgur.com/HSaTiSh.png" alt="" width="375"><figcaption></figcaption></figure>

3. And make sure the encryption mode is set to **Flexible**.

<figure><img src="https://i.imgur.com/G8jMrIp.png" alt="" width="375"><figcaption></figcaption></figure>

4. Head back to the **Overview** menu: <img src="https://i.imgur.com/vWC0ktH.png" alt="" data-size="line">

<figure><img src="https://i.imgur.com/glben48.gif" alt=""><figcaption></figcaption></figure>

### On to the next step!


---

# 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://guides.engels.zip/cosmos-server-setup/04-dns-challenge-setup-cf/04a-ssl-tls-settings.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.
