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

# Problemer med ugyldigt TLS-certifikat ved sessionsoptagelse via Devolutions Gateway

Diagnosticér ugyldige TLS-certifikatårsager, der påvirker sessionsoptagelse i Devolutions Gateway, fra domæneafvigelser til tilbagekaldte certifikater.

Hvis De støder på problemer med sessionsoptagelse via Devolutions Gateway, kan det skyldes et ugyldigt TLS-certifikat. Der er flere grunde til, at et TLS-certifikat kan anses for ugyldigt. Her er de mest almindelige årsager:

* **Forkert konfigureret certifikat**: Forkert opsætning eller installation af TLS-certifikatet.
* **Domæneafvigelse**: Certifikatet er udstedt til et andet domæne (f.eks. et certifikat udstedt til *example.loc*, mens værtens destinationsadresse er *not-example.loc*).
* **Brud i tillidskæden**: Udstederens identitet kan ikke bekræftes.
* **Forkert dato/klokkeslæt på klientmaskinen**: Hvis den lokale dato eller det lokale klokkeslæt på klientmaskinen er forkert, kan certifikatet anses for udløbet, hvis tidspunktet ligger efter certifikatets udløbsdato.
* **Ødelagt certifikatstruktur**: Certifikatet har en ugyldig digital signatur eller andre strukturelle problemer.
* **Forældet hash-algoritme**: Certifikatet bruger kun hash-algoritmen SHA-1, som er forældet og ikke længere anses for sikker.
* **Tilbagekaldt certifikat**: Certifikatet er blevet tilbagekaldt af den udstedende myndighed.
* **Selvsigneret certifikat og Sophos**: Når De bruger et selvsigneret certifikat, og klienten bruger Sophos, kan certifikatet blive erstattet af et, der ikke er tillid til, så indstillingen til at tillade selvsignerede certifikater i Remote Desktop Manager omgås.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/gateway/da/knowledge-base/troubleshooting-articles/invalid-tls-certificate-issues-for-session-recording-via-devolutions-gateway.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
