# Custom SSL certificates for https requests

A call recording request looks something like the following:

**`http`**`://<Asterisk IP>:`**`8077`**`/get_conversation_recording?id=1608120945.929&from=89221234567&to=101`

To enable receiving records via https, you need to configure this function in the admin area on the page:

`http://<Asterisk IP>:8077/config/module`

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

1. You need to enable the "Use https port" function.
2. The default port is 8078 (can be changed). For records to be accessible from outside the network, port 8078 must be open to Asterisk.
3. Add the path to the certificate and key. These can usually be found at /etc/asterisk/keys/ You need the addresses to the files .pem and .key\
   The easiest way to get a certificate is through [letsencrypt](https://letsencrypt.org/) service.
4. Save the settings.

The new record link will look like this:

`https://<Asterisk IP>:8078/get_conversation_recording?id=1608120945.929&from=89221234567&to=101`

{% hint style="warning" %}
To retrieve new link entries from an external network, port 8078 must be open on the router.
{% 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://docs.itgrix.com/for-admins/custom-ssl-certificates-for-https-requests.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.
