Error while executing pre requaites script for cyberark core componets

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

Error while executing pre requaites script for cyberark core componets

L3 Networker

I am trying to build cyberark lab on google cloud platform . I have created 2 VMs , 1 acts as a Doamin controller and other used to install cyberark coompoets (PSM CPM, Secure tunne ,etc ) i have added other VM in the nelwy created domain . Whlle executing the pre requites scripts getting below error " domain name could not be resolved ". screenshot for your reference

Field_Content_versions_oct20__068Vy00000eormxIAA.png 

I have whitelisted GCP public ip in p cloud allowlist . still getting the error . KIndly suggest if i am missing sumthng. timely help is greatly appreciated

1 accepted solution

Accepted Solutions

L4 Transporter

Hello @Manisha R​ 

 

There is an article which might help you!

 

Connect to organization firewalls | CyberArk Docs

 

View solution in original post

12 REPLIES 12

L2 Linker

Hi Manisha,

Please ensure that the server has outbound connectivity to the required networks. Specifically for the error message "domain name could not be resolved", try launching the URL from a browser inside the server and confirm if it is accessible. If the URL fails to load, it’s likely a network-side issue — please verify your DNS settings or firewall rules that may be blocking outbound traffic.

Additionally, the URL you entered appears to be incorrect. The correct syntax should be either:

From your screenshot, it looks like you're using the tenant ID, so please make sure to use the first format:

https://{tenantid}.id.cyberark.cloud

 

@Santhosh Kannan K​ , Thank you very much for your response . URL is accessible with subdomain from private network and also relevant ports 443 and 1858 are allowed in palto alto firewall.Even oraganization public ips are whitlelised in cyberark portal . Still getting the name resolution error ,Kindly help if there is any way to get public ip of tenant specific domain to share the same with pur network team to allow traffic on ip level .

It seems that it is a dns resolution issue. try from CMD to ping for example www.google.com. If you dont get a ping reply check your network settings on the VM (is DHCP or static? is there DNS added ? on my lab i have my DC ip as primary DNS and 8.8.8.8 as secondary DNS)

Thank you @Charis Akritidis​ for your response , i could ping and tenant URL is accessible from my VM , hwowver while executing the pre requsities connetcor script it is giving name reslution failed for tenant name . As per pur network team they want specific public ip

L4 Transporter

Hello @Manisha R​ 

 

There is an article which might help you!

 

Connect to organization firewalls | CyberArk Docs

 

L4 Transporter

Hello @Manisha R​ 

 

There is an article which might help you!

 

Connect to organization firewalls | CyberArk Docs

 

@Manisha R​ , As I mentioned earlier, the URL you're using appears to be in an incorrect format. Could you please validate it once again? It should follow this format:

https://{tenantid}.id.cyberark.cloud

Also, before re-running the script, please make sure to delete the file named:

_ConnectorCheckPrerequisites_PrivilegeCloud.ini

Once deleted, you can re-run the script.

@Santhosh Kannan K​ i am able to access my tenant URL say xyz-pam-lab.cyberark.cloud also could login with my credentials , however the tenant URL is redirecting to abs4040.cyberark.cloud and the routed domain is not getting resolution failure while executing the connector pre requsities script and there is no traffic seen on firewall level . Any thoughts on this please.

@Manisha R​ Could you please open the _ConnectorCheckPrerequisites_PrivilegeCloud.ini

file and confirm the URL under the PortalURL section. If the URL in the file shows

abs4040.cyberark.cloud, please modify it to: abs4040.id.cyberark.cloud

L4 Transporter

Hi @Manisha R​ 

 

Hopefully I can point you in the right direction here...

 

Looking at your screenshot, you have entered your IdentityTenant id into Powershell when prompted to enter your portal address, this is not correct...

 

You need enter in your example, xz-pam-lab.cyberark.cloud into the Powershell script, I would recommend here that you delete the file "_ConnectorCheckPrequisites_PrivilegeCloud.ini" and will be able to re-enter this, upon doing this, it should be able to resolve the address.

 

If it does not, I would do the the following

 

  1. Check the network_requirements.txt file that gets outputted after you have ran the script, this will tell you all required Network config you need.
  2. Open up a Browser on your connector and see if you can log in.
  3. You have mentioned you use Palo Alto, when working with Palo Alto we need to add some additional config where we an App Over-ride is needed, please see following URL which explains this.

 

 

https://docs.cyberark.com/ispss-deployment/latest/en/content/privilege%20cloud/priv-cloud-firewall-setup.htm

 

Hope this helps

 

Thanks

 

Michael

 

Do l need to modify the network template file with tenant specific details like tenant URL, identity pod ID tenant ID etc and then run the script ? or just download the script and run on VM is enough with domain admin credentials ?

L4 Transporter

Hi @Manisha R​

 

There is no need for you to modify any file, the only thing you need to do is the following

 

  1. Delete the file "_ConnectorCheckPrequisites_PrivilegeCloud.ini"
    1. Note: This file gets updated from the information you enter into the PowerShell script, by deleting this you will be ask re-enter the Portal Address.
  2. Once you enter the Portal address, tenant details are automatically retrieved such as the tenant url.
  3. Once the script has ran, it will either return all green or it will tell you what needs to be reviewed.
  4. Additionally once the script has finished it will auto-generate the file "network_requirements.txt", this is specific to any Network items that may need to be reviewed but check to see if the Pre-req script failed on any connectivity tests first, as you may not need to use this.
  5. Lastly, when prompted to perform the CPM test, I would recommend you do this, if this fails then installations of CPM and PSM will fail.

Hope this helps

 

Thanks

 

Michael

 

 

  • 1 accepted solution
  • 173 Views
  • 12 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!