Secure tunnel - Secure Tunnel configuration failed
Symptom
After sending configuration details from the secure tunnel client the following message is displayed:
Secure Tunnel configuration failed. See secure_tunnel_config_tool.log for details.
In the logs we can see the following error messages:
secure_tunnel_config_tool.log:
2025-08-28 10:42:40 info [secureTunnelConfigure.js]: Sending configuration to Secure Tunnel: {"serverCACertificate":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----","tunnelMap":{"cct1":{"enabled":true,"tunnelId":"TUNNELID","name":"cct1","remoteHost":"connector-tenantname.privilegecloud.cyberark.com","port":443}}}
2025-08-28 10:42:41 info [configFlow.js]: succeed to send configuration to Secure Tunnel. Response: 201
2025-08-28 10:42:41 info [pollingUtils.js]: Start polling polling http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1 internal=10000 pollTimeout=120000
2025-08-28 10:42:41 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:42:51 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:01 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:11 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:21 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:31 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:41 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:43:51 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:01 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:11 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:21 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:31 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:41 info [pollingUtils.js]: Sending request to http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:41 error [pollingUtils.js]: Exit with timeout from polling url: http://127.0.0.1:50000/v1/tunnelsStatus?tunnelName=cct1
2025-08-28 10:44:41 error [configFlow.js]: Secure Tunnel configuration failed. See secure_tunnel_config_tool.log for details.
2025-08-28 10:44:41 error [main.js]: Secure Tunnel configuration failed. See secure_tunnel_config_tool.log for details.
In the "privilege-cloud-securetunnel-service.log" we can see:
2025-08-28 10:44:45.062+02:00 INFO 10060 --- [pool-2-thread-5] c.c.p.t.p.t.w.c.WebSocketClient : TunnelId='TUNNELID' Connecting to server='connector-tenantname.privilegecloud.cyberark.com:443'
2025-08-28 10:44:45.141+02:00 ERROR 10060 --- [nioEventLoopGroup-6-4] .t.p.t.w.c.WebSocketClientChannelHandler : channel [id: 0x3a0226bc, L:/IP:55617 ! R:connector-tenantname.privilegecloud.cyberark.com/IP:443] exceptionCaught
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
In the backend we can see the configuration has been added, however the status of the secure tunnel is "unknown"
Environment
Privilege Cloud Secure Tunnel Client
Cause
The issue is the SSL inspection for Privilege Cloud Connector servers has not been disabled.
Resolution
Disable SSL inspection for Privilege Cloud Connector servers following the documentation below: