# How to install an SSL Certificate in HestiaCP?

To activate an SSL certificate for a domain, it must have a **web** space created under a **user**.\
The domain must point to the server where the SSL certificate will be installed.\
\
Once these two requirements are met, follow these steps to install SSL:

1. Log in to the **USER** area.
2. Click on the **user** that has the domain to configure.

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

3. You should be in the **WEB** area once you enter the new screen.
4. Hover the mouse to the right of the domain you want to activate SSL for.\
   You will see a **pencil** icon appear. Click on that option.

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

5. In the domain options, you should enable **Enable SSL for this domain**.
6. Then, enable **Use Let's Encrypt to obtain an SSL certificate**.
7. Finally, press the Save button at the top right to save the changes.

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

After a few minutes, the SSL certificate will be installed on the domain.

{% hint style="warning" %}
If you have domains configured as **Alias**, they must all point to the server or the SSL certificate will fail.\
If you need to add domains as Alias that are not yet delegated, remove them from **Alias**, generate the SSL certificate, and then add them back.
{% endhint %}


---

# 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://help.sitioshispanos.com/menu-principal/guias/web-hosting/certificado-ssl/como-instalar-un-certificado-ssl-en-hestiacp.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.
