Error while installing or running Secure Tunnel.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while installing or running Secure Tunnel.

L4 Transporter

Hi Experts,

 

We have successfully installed connectors with proxy settings.

 

  1. Getting below error while initiating secure tunnel. Does anyone know what's going on ?
  2. Does anyone know what's an endpoint ?

 

068Ht00000VfHOfIAN.jpg 

 

Getting below error in secure_tunnel_config_tool.log.

--------------------------------------------------------------------------------------

2024-10-11 16:21:44 info [main.js]: loaded environment: production, config: {"config_id":"production","oldConsoleUrl":"https://console.privilegecloud.cyberark.com","consoleUrl":"https://console.privilegecloud.cyberark.cloud"}

2024-10-11 16:21:48 info [main.js]: package PrivilegeCloudSecureTunnel is already installed

2024-10-11 16:30:42 info [main.js]: loaded environment: production, config: {"config_id":"production","oldConsoleUrl":"https://console.privilegecloud.cyberark.com","consoleUrl":"https://console.privilegecloud.cyberark.cloud"}

2024-10-11 16:30:47 info [main.js]: package PrivilegeCloudSecureTunnel is already installed

2024-10-11 16:31:32 info [configFlow.js]: Configuring explicit proxy through: proxydns.companyurl:8080

2024-10-11 16:31:32 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.cloud/connectorConfig/v1?tenantid1=xxxxxxxxx

2024-10-11 16:31:32 info [configFlow.js]: Authenticating customer with tenantid1: xxxxxxxxx

2024-10-11 16:31:32 info [configService.js]: Console url = 'https://console.privilegecloud.cyberark.cloud' is not accessible due to error = 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'. Retrying using OLD console url = 'https://console.privilegecloud.cyberark.com'

2024-10-11 16:31:32 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.com/connectorConfig/v1?tenantid1=xxxxxxxxx

2024-10-11 16:31:33 error [configFlow.js]: Failed to get environment configuration for customer: xxxxxxxxx, error: Error: unable to verify the first certificate

2024-10-11 16:31:33 error [main.js]: Authentication to Privilege Cloud failed. Try again.

2024-10-11 16:33:11 info [configFlow.js]: Configuring explicit proxy through: http://proxydns.companyurl:8080

2024-10-11 16:33:11 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.com/connectorConfig/v1?tenantid1=xxxxxxxxx2024-10-14 15:35:47 info [main.js]: loaded environment: production, config: {"config_id":"production","oldConsoleUrl":"https://console.privilegecloud.cyberark.com","consoleUrl":"https://console.privilegecloud.cyberark.cloud"}

2024-10-14 15:35:55 info [main.js]: package PrivilegeCloudSecureTunnel is already installed

2024-10-14 15:39:23 info [main.js]: loaded environment: production, config: {"config_id":"production","oldConsoleUrl":"https://console.privilegecloud.cyberark.com","consoleUrl":"https://console.privilegecloud.cyberark.cloud"}

2024-10-14 15:39:27 info [main.js]: package PrivilegeCloudSecureTunnel is already installed

2024-10-14 15:47:36 info [configFlow.js]: Configuring explicit proxy through: http://proxydns.companyurl:8080

2024-10-14 15:47:36 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.cloud/connectorConfig/v1?subDomain=COMPANY

2024-10-14 15:47:36 info [configFlow.js]: Authenticating customer with subDomain: COMPANY

2024-10-14 15:47:37 info [configService.js]: Console url = 'https://console.privilegecloud.cyberark.cloud' is not accessible due to error = 'ENOTFOUND'. Retrying using OLD console url = 'https://console.privilegecloud.cyberark.com'

2024-10-14 15:47:37 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.com/connectorConfig/v1?subDomain=COMPANY

2024-10-14 15:47:38 error [configFlow.js]: Failed to get environment configuration for customer: COMPANY, error: Error: getaddrinfo ENOTFOUND http

2024-10-14 15:47:38 error [main.js]: Authentication to Privilege Cloud failed. Try again.

2024-10-14 15:48:27 info [configFlow.js]: Configuring explicit proxy through: http://proxydns.companyurl:8080

2024-10-14 15:48:27 info [configService.js]: calling GET (corrId=xxxxx-8a3a-11ef-ae50-xxxxxxx): https://console.privilegecloud.cyberark.com/connectorConfig/v1?subDomain=tenantid1

2024-10-14 15:48:27 info [configFlow.js]: Authenticating customer with subDomain: tenantid1

2024-10-14 15:48:28 error [configFlow.js]: Failed to get environment configuration for customer: tenantid1, error: Error: getaddrinfo ENOTFOUND http

2024-10-14 15:48:28 error [main.js]: Authentication to Privilege Cloud failed. Try again.

1 accepted solution

Accepted Solutions

L4 Transporter

Firstly it seems that your connection is via a proxy server which has been configured at the address http://proxydns.companyurl:8080. This could possibly be a placeholder address - is this the correct setting for the proxy server in your corporate environment? This link Install and configure Secure Tunnel | CyberArk Docs shows how to install Secure Tunnel, item 5 details how to configure secure tunnel to use proxy server

 

If you are connecting via a proxy server, it is important to configure the proxy service to disable https inspection and https decryption for the connection, as detailed in the documentation listed by PSPete

 

Details to use proxy for the secure tunnel configuration tool;

  1. As Administrator, access C;/Program Files/CyberArk/PrivilegeCloudSecureTunnel/config and open application.properties in Notepad.
  2. Edit the following properties:
  • proxyservice.explicitProxyAddress - remove the comment (#) and add the IP/FQDN of the proxy server
  • proxyservice.explicitProxyAddress - remove the comment (#) and add the port number that supports communications with the proxy server
  • proxyservice.explicitProxyDnsResolving - To resolve DNS under the proxy, remove the comment (#) and set the value to true.
  1. For example:
  2. Save the application.properties file.
  3. Return to the Secure Tunnel installer wizard and complete the wizard installation.
  4. Restart the CyberArkPrivilegeCloudSecureTunnel service as described in the last step.

 

View solution in original post

4 REPLIES 4

L5 Sessionator

All the outbound network requirements are detailed in the documentation here: Outbound traffic network and port requirements | CyberArk Docs

 

Thanks @Pete Maan​ .

I added the logs from installation time now. Could see some cert errors.

Do you see any specific issue in the above logs ?

L4 Transporter

Firstly it seems that your connection is via a proxy server which has been configured at the address http://proxydns.companyurl:8080. This could possibly be a placeholder address - is this the correct setting for the proxy server in your corporate environment? This link Install and configure Secure Tunnel | CyberArk Docs shows how to install Secure Tunnel, item 5 details how to configure secure tunnel to use proxy server

 

If you are connecting via a proxy server, it is important to configure the proxy service to disable https inspection and https decryption for the connection, as detailed in the documentation listed by PSPete

 

Details to use proxy for the secure tunnel configuration tool;

  1. As Administrator, access C;/Program Files/CyberArk/PrivilegeCloudSecureTunnel/config and open application.properties in Notepad.
  2. Edit the following properties:
  • proxyservice.explicitProxyAddress - remove the comment (#) and add the IP/FQDN of the proxy server
  • proxyservice.explicitProxyAddress - remove the comment (#) and add the port number that supports communications with the proxy server
  • proxyservice.explicitProxyDnsResolving - To resolve DNS under the proxy, remove the comment (#) and set the value to true.
  1. For example:
  2. Save the application.properties file.
  3. Return to the Secure Tunnel installer wizard and complete the wizard installation.
  4. Restart the CyberArkPrivilegeCloudSecureTunnel service as described in the last step.

 

L4 Transporter

much appreciate your inputs @Jon Musker​ . That helped me.

 

I could fix it by doing following:

  1. Proxy Team mentioned that they don't see any traffic from connector server. Upon checking the application.properties file,
    1. proxyservice.explicitProxyAddress value was set with http://proxyaddress.com which was changed to proxyaddress.com. After this proxy team could observe traffic flowing.
  2. Proxy Team confirmed that packet inspection is enabled which is blocking the traffic. Allowed pass through authentication for the servers, requests.
  3. Still issue persisted. From logs it could be seen that authentication failure on console.privilegecloud.cyberark.com. So, added console.privilegecloud.cyberark.com as only console.privilegecloud.cyberark.cloud was there in the passthrough allowed address.
  • 1 accepted solution
  • 487 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!