Privilege Cloud Remote Access Alero HTML5 PSMGW0001E error

Privilege Cloud Remote Access Alero HTML5 PSMGW0001E error

113
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:55 PM


Symptom


PSMGW0001E error occurs, which is usually accompanied by PSMGW0008E error as well.
The PSMGW001E error mostly involves certificates.

image.png
 


Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;14.2 Privilege Cloud;Remote Access (formerly Alero) Alero SaaS Privilege Cloud

Cause


One or more of the following issues likely exists:
  • The Certificates are bad
  • The Certificate was deployed at the PSM or the HTML5 Gateway incorrectly
  • The Certificate was wrongly defined in the Secure Tunnel.


Resolution


The resolution focuses on the following :
PSMGW0001EAn issue in the HTML5 security layer.
The session was not authenticated during the JWT flow.
  • Ensure that the PVWA endpoint for JWT validation is correct
  • Ensure that the certificate of the CA that signed the PVWA was imported correctly (required for PSMGW to trust the PVWA)
  • JWT token expired or invalid for some other reason

Ensure that the certificate of the CA that signed the PVWA was imported correctly (required for PSMGW to trust the PVWA)

Cert being bad could mean a few things:
  1. There is a typo in the secure tunnel config where the hostname does not match the cert we have
  2. The RDP server role does not have the cert associated with the publisher service
  3. The cert is expired
  4. The PSM server entry has a typo
  5. There is more than one cert per PSM, meaning a duplicate cert
When the certs are provisioned, unless they are rejected with an error, we can almost be confident that they were applied correctly.
The certs that are referenced here are the PSM Certs. The PSMs to connect with the HTML5 Gateway must be defined in the Secure Tunnel.


If the PSMs are not defined in the Secure Tunnel, there is no way for them to connect to the HTML5 Gateway.

To check if the Certs are Valid, you need to conduct a get on the certs. The best way is to pull them using the customer ID in Postman.

When you pull the certificate info from the Postman, you want to look at the validTo

        "lastUpdateTime": "2021-07-12T20:40:24.255Z",
        "version": 2,
        "metadata": {
            "issuer": "Hxxx01",
            "subject": "Hxxxx01",
            "validFrom": "2021-06-22T20:58:41+00:00",
            "validTo": "2021-12-22T21:08:32+00:00",
            "serialNumber": "105xxxxxxxx3435xxxxxx691065"
        }
    },

When checking if there is a duplicate cert, you want to check for the hostname listed in the Subject Field of the pull from Postman. When you get the PSM Certs, look for a duplicate of the hostname spelled out in the subject line. If you have two certs with the same hostname, keep the most recent cert and delete the old one. You can compare the date and time of the creation to determine the most recent.
In the example below, highlighted the name of the cert and creation time in green for the one we want to keep. Red for the one we want to delete.

456.png


867854.png
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000wtjCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail