> 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/password-manager-pro-issues.md).

# Problemi di Password Manager Pro

Corregga gli errori di integrazione di Password Manager Pro in Remote Desktop Manager, come violazioni di protocollo e errori di token o di host, correggendo la configurazione dell'utente API.

### System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine

Durante la configurazione della voce di credenziali Password Manager Pro, si assicuri che l'URL del server contenga `https://` e non `http://`. È assolutamente necessario un `https://` all'inizio dell'indirizzo per comunicare correttamente con il server.

### Quando prova a connettersi a un computer remoto o a ottenere l'elenco delle credenziali, appare una finestra con il campo del token vuoto e i campi nome utente e workstation disattivati

Il nome host configurato nel suo utente API in Password Manager Pro non è lo stesso che ha configurato in Remote Desktop Manager in ***File*** – ***Impostazioni del mio account*** – ***Password Manager Pro***. Per maggiori informazioni sulla configurazione, consulti [Configurare Password Manager Pro in Remote Desktop Manager macOS](/rdm/it/knowledge-base/how-to-articles/configure-password-manager-pro-in-remote-desktop-manager-macos.md).

### Api key received is not associated to any user. Authentication failed

Modifichi il suo utente API in Password Manager Pro e generi un nuovo ***Authentication Token***, salvi l'utente API e salvi questo nuovo token in Remote Desktop Manager in ***File*** – ***Impostazioni del mio account*** – ***Password Manager Pro***.

### User is not allowed to access from this host

Durante la creazione di un utente API in Password Manager Pro, è necessario un ***Host*** (nome del computer) per creare l'utente. In Password Manager Pro può essere registrato utilizzando il ***Fully Qualified Domain Name (FQDN)*** del computer. In Remote Desktop Manager, invece, deve impostarlo esattamente uguale alla variabile d'ambiente %COMPUTERNAME%.

Un'altra causa di questo errore che abbiamo riscontrato è che era stato specificato il nome DNS del server, mentre tutto avrebbe funzionato perfettamente utilizzando l'indirizzo IP. La preghiamo di verificarlo con la procedura descritta di seguito.

### Procedura di test con PowerShell

Ecco uno script che può usare per testare l'accesso da una postazione di lavoro client. Salvi il codice seguente in un file chiamato PMPTest.ps1. Lo script chiama la stessa API REST di Remote Desktop Manager, quindi mostra se la postazione di lavoro può raggiungere il server e se il token viene accettato. Lo esegua in Windows PowerShell 5.1, poiché l'aggiramento del certificato che usa non è supportato in PowerShell 7.

```powershell
[CmdletBinding()]
Param(
[Parameter(Mandatory=$True,Position=1)]
[string]$PMPServer,

[Parameter(Mandatory=$True,Position=2)]
[string]$AuthToken
)

add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy: ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
"@

[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
cls
$connect = "https://" + $PMPServer + ":7272/restapi/json/v1/resources?AUTHTOKEN=$AuthToken"
$result = Invoke-WebRequest -Uri $connect
$form = $result.Content
$content = ConvertFrom-Json $form

$status = $content.operation.result.status

if ($status -eq "Success") {
$content.operation.Details
}
if ($status -eq "Failed") {
$status
$content.operation.result.Message
}
Pause
```

{% hint style="info" %}
La porta è codificata nello script con il valore 7272, che è il valore predefinito per Password Manager Pro. La adatti al suo ambiente
{% endhint %}

All'interno di Powershell, digiti quanto segue:

`.\PMPTest.ps1 {YOUR_PMP_SERVER} {YOUR_PMP_TOKEN}`

Esegua il test sia con il nome DNS del server sia con l'indirizzo IP e osservi i risultati.


---

# 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/rdm/it/knowledge-base/troubleshooting-articles/password-manager-pro-issues.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.
