Remote Access (Alero) PVWA Connection Fails with JWT Signature Verification or Time-Sync Errors
Symptom
When connecting through the Remote Access (Alero) portal to PVWA or navigating between sites with multiple Remote Access Connectors, authentication fails with one of the following symptoms:
Scenario 1 (PVWA Connection Failure):
The connection to PVWA fails during portal authentication. The Remote Access Connector logs record an error similar to:
"Authentication error=jwt signature verification failed: 'exp' claim expired at <Timestamp>"
Scenario 2 (Multi-Connector Token Rejection):
Authentication flows pass tokens that are treated as invalid or expired by peer connectors, intermittently dropping or breaking sessions across sites.
Environment
14.2;14.4;14.6;15.0;15.2 Remote Access (formerly Alero) Connector
- Products: Idira Remote Access (Alero), Privileged Access Manager (PAM, self-hosted), Privilege Cloud
- Components: Remote Access Connector (Alero Connector), Password Vault Web Access (PVWA)
- OS / Platform: Linux (Ubuntu / RHEL), Docker Container
- Affected Versions: PAM v14.2 and higher, All Remote Access Connector versions
Cause
JSON Web Tokens (JWT) used by Idira Remote Access contain an expiration claim (`exp`) that requires precise time synchronization across all infrastructure components.
If the host machine running the Remote Access Connector, the internal Docker container, or the PVWA server experiences time drift (even by a few minutes), the generated JWT signature will be evaluated as prematurely expired, causing authentication to fail.
Resolution
Follow these steps to synchronize time across the Remote Access host, container, and PVWA:
Step 1: Synchronize Host Machine Time and Enable NTP
Verify and adjust the system time on the Linux host machine hosting the Remote Access Connector:
For Ubuntu / Debian:
1. Verify system time status:
timedatectl status
2. If time is out of sync, update time manually or ensure NTP is active:
sudo timedatectl set-ntp true
(Or set time manually: sudo timedatectl set-time "YYYY-MM-DD HH:MM:SS")
For RHEL / CentOS:
1. Verify system time status:
timedatectl status
2. Ensure chronyd or ntpd service is active and synchronized with an NTP server:
sudo systemctl restart chronyd
Step 2: Resynchronize the Docker Container
The Remote Access Docker container inherits system time from its Linux host. To refresh the container's time environment:
1. Open a terminal on the host machine.
2. Restart the Remote Access Connector container:
sudo docker restart alero.connector
3. If the container still exhibits time drift after restarting, reboot the host machine:
sudo reboot
Step 3: Verify PVWA Server Time
Ensure the Windows Server hosting the PVWA is synchronized with the domain hierarchy or designated Windows Time (w32tm) NTP source.
Step 4: Verify Connector Status
1. Log into the connector CLI:
alero-connector
2. Authenticate using your Remote Access mobile application.
3. Run `show-status` and verify both 'Secure Tunnel connection' and 'Command plane connection' display as Connected.
4. Test the PVWA connection via the Remote Access portal.