UI error: Unable to connect to PSC service error on vSphere Replication plug-in page due to expired Security Token Service (STS) Certificate
search cancel

UI error: Unable to connect to PSC service error on vSphere Replication plug-in page due to expired Security Token Service (STS) Certificate

book

Article ID: 440035

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • On the vCenter Server UI, vSphere Replication plug-in displays an error "vSphere Replication - UI error: Unable to connect to PSC service"

  • VAMI page of the vSphere Replication appliance is accessible over port 5480.
  • Unable to access the DR page URL:https://VR-IP/dr of the vSphere Replication appliance , it displays an error:

  • Attempting to reconfigure the appliance from the VAMI page fails with following error: "Failed to register H5 UI"

 

 

Environment

VMware Live Site Recovery 9.x

VMware vSphere Replication 9.x

Cause

The root cause is an expired Security Token Service (STS) Certificate.

 

  • In the /opt/vmware/support/logs/dr-client/dr.log, following error for Signature validation failed due to malformed token is logged :

2026-05-04 19:30:08,266 [srm-reactive-thread-530] ERROR com.vmware.srm.client.infrastructure.websso.WebSsoWorkflow  ########-###-####-###-############  - WebSso operation failed: Signature validation failed

2026-05-04 19:30:47,084 [srm-reactive-thread-531] INFO  com.vmware.identity.token.impl.X509TrustChainKeySelector  ########-###-####-###-############   - Failed to find trusted path to signing certificate <CN=ssoserverSign>
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

2026-05-04 19:30:47,085 [srm-reactive-thread-531] ERROR com.vmware.identity.token.impl.SamlTokenImpl  ########-###-####-###-############  - Signature validation failed
javax.xml.crypto.dsig.XMLSignatureException: the keyselector did not find a validation key

2026-05-04 19:30:47,085 [srm-reactive-thread-531] ERROR com.vmware.srm.client.infrastructure.websso.LoginWorkflow  ########-###-####-###-############   - Failed to create saml token.
com.vmware.vim.sso.client.exception.MalformedTokenException: Signature validation failed

  • In the vpxd-svcs.log, below error for failing to find trusted path to signing certificate <CN=ssoserverSign> associated with the STS service is logged indicating unable to find a certificate chain.:

2026-05-04T15:54:21.863Z [tomcat-exec-262 [] INFO  com.vmware.identity.token.impl.X509TrustChainKeySelector  opId=] Failed to find trusted path to signing certificate <CN=ssoserverSign>
java.security.cert.CertPathBuilderException: Unable to find certificate chain.

2026-05-04T15:54:21.864Z [tomcat-exec-262 [] ERROR com.vmware.identity.token.impl.SamlTokenImpl  opId=] Signature validation failed
javax.xml.crypto.dsig.XMLSignatureException: the keyselector did not find a validation key

  • In this vCenter Server log /var/log/vmware/trustmanagement/trustmanagement-svcs.log, it explicitly states that the token expiration date has already passed.

2026-05-04T19:04:33.010Z [tomcat-exec-29 [] INFO  com.vmware.identity.token.impl.SamlTokenImpl  opId=] Token expiration date: Mon May 04 18:54:27 UTC 2026 is in the past.
2026-05-04T19:04:33.010Z [tomcat-exec-29 [] INFO  com.vmware.vapi.security.AuthenticationFilter  opId=] Authentication failed
java.lang.RuntimeException: Authentication data not found
        at com.vmware.vapi.cis.authn.SamlTokenAuthnHandler.authenticate(SamlTokenAuthnHandler.java:57) [vapi-authn-2.100.0.jar:?]

Resolution

To resolve the issue, the expired STS certificate needs to be replaced:

  1. Take an offline snapshot of all vCenter Servers that are part of Enhanced Linked Mode.

  2. Execute the vCert tool script on one vCenter Server within the Enhanced Linked Mode environment to replace the expired STS certificate (vCert – Scripted vCenter Expired Certificate Replacement).

  3. After the STS certificate has been replaced successfully, restart the vCenter services on each vCenter Server in Enhanced Linked Mode, once at a time, using the following command:

        service-control --stop --all && service-control --start --all

The vSphere replication relies on a valid STS certificate for internal authentication and token issuance.An expired STS certificate breaks the trust between the replication solution and vCenter.Executing the vCert script generates a valid certificate.