> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/gateway/it/knowledge-base/troubleshooting-articles/invalid-tls-certificate-issues-for-session-recording-via-devolutions-gateway.md).

# Problemi di certificato TLS non valido per la registrazione delle sessioni tramite Devolutions Gatew

Se riscontra problemi con la registrazione delle sessioni tramite Devolutions Gateway, la causa potrebbe essere un certificato TLS non valido. Esistono diversi motivi per cui un certificato TLS può essere considerato non valido. Ecco le cause più comuni:

* **Certificato configurato in modo errato**: configurazione o installazione non corretta del certificato TLS.
* **Discrepanza del dominio**: il certificato è stato emesso per un dominio diverso (ad esempio, certificato emesso per *example.loc* ma l'indirizzo di destinazione dell'host è *not-example.loc*).
* **Interruzione della catena di attendibilità**: non è possibile verificare l'identità dell'emittente del certificato.
* **Data/ora errate sul computer client**: se la data/ora locali sul computer client non sono corrette, il certificato può essere considerato scaduto se la data supera la data di scadenza del certificato.
* **Struttura del certificato danneggiata**: il certificato presenta una firma digitale non valida o altri problemi strutturali.
* **Algoritmo di hashing obsoleto**: il certificato utilizza solo l'algoritmo di hash SHA-1, che è obsoleto e non è più considerato sicuro.
* **Certificato revocato**: il certificato è stato revocato dall'autorità emittente.
* **Certificato autofirmato e Sophos**: quando si utilizza un certificato autofirmato, se il client utilizza Sophos, il certificato potrebbe essere sostituito da uno non attendibile, ignorando l'opzione che consente i certificati autofirmati in Remote Desktop Manager.


---

# 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.devolutions.net/gateway/it/knowledge-base/troubleshooting-articles/invalid-tls-certificate-issues-for-session-recording-via-devolutions-gateway.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.
