> 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/rdm/it/knowledge-base/troubleshooting-articles/certificate-security-provider-configuration-errors.md).

# Errori di configurazione del provider di sicurezza con certificato

Occasionalmente, la configurazione dei provider di sicurezza dei certificati può generare errori. Per eseguire la crittografia utilizzando il certificato, l'applicazione deve accedere alla chiave privata del certificato, il che a volte può causare problemi.

{% hint style="info" %}
Provi prima a risolvere il problema eseguendo Remote Desktop Manager in modalità amministratore per escludere eventuali errori comuni di autorizzazione.
{% endhint %}

### Errori comuni di autorizzazione

`An error occurred trying to access the certificate private key. (0x80100001, SCARD_F_INTERNAL_ERROR)`\
\
Se utilizza un certificato Smart Card YubiKey, consulti [Troubleshooting SCARD\_F\_INTERNAL\_ERROR](https://support.yubico.com/hc/en-us/articles/360013718020-Troubleshooting-SCARD-F-INTERNAL-ERROR). Questo errore è causato da un problema interno alla configurazione della Yubikey. Si consiglia di abilitare la registrazione di debug per diagnosticare il problema con la Yubikey.

***

`Smart card prompt cancelled. (0x8010006E, SCARD_W_CANCELLED_BY_USER)`\
\
La richiesta delle credenziali della smart card è stata annullata, impedendo l'accesso alla chiave privata.

***

`Access denied (0x80090010, NTE_PERM)`\
\
L'applicazione non è stata in grado di accedere alla chiave privata del certificato a causa di problemi di autorizzazione.

* Questo potrebbe essere causato anche dall'annullamento della richiesta del PIN del certificato.
* L'utente non è autorizzato a leggere la chiave privata del certificato.

***

`Unable to open the Windows cryptographic key container. (0x80090016, NTE_BAD_KEYSET)`\
\
L'applicazione non è stata in grado di accedere alla chiave privata del certificato nel contenitore delle chiavi crittografiche di Windows.\
\
Questo problema potrebbe essere causato da problemi di autorizzazione o da una chiave inesistente o danneggiata. Quest'ultimo caso può verificarsi se l'utente modifica la propria password, provocando la rotazione delle chiavi DPAPI e impedendo quindi la corretta decrittografia dei contenitori di chiavi.`The handle is invalid. (0x80090026, NTE_INVALID_HANDLE)`L'applicazione non è stata in grado di accedere alla chiave privata del certificato.\
\
Ecco alcuni motivi per cui questo potrebbe accadere:

* Il certificato non è un certificato RSA.
* Il certificato non contiene una chiave privata RSA.
* La chiave privata non è contrassegnata come esportabile.


---

# 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/rdm/it/knowledge-base/troubleshooting-articles/certificate-security-provider-configuration-errors.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.
