> For the complete documentation index, see [llms.txt](https://docs.itgrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itgrix.com/for-admins/custom-ssl-certificates-for-https-requests.md).

# 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
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://docs.itgrix.com/for-admins/custom-ssl-certificates-for-https-requests.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.
