How to verify connectivity between SCIM server and Vault?

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

How to verify connectivity between SCIM server and Vault?

L3 Networker

Is there a way that I can verify SCIM server is connected to the Vault server?

 

I was thinking about running Test-NetConnection powershell cmdlet against port 1858 on the Vault server but not sure this is the right way.

 

I shared this thought with another engineer who is much more familiar with CyberArk product and he told me that we do not know if 1858 is the port SCIM server is configured to use.

 

We are in the process of testing whole integration of following components. At one point, this integration worked.

 

SP IIQ <--> SCIM <--> Vault <--> AD

 

We believe we configured SP IIQ/SCIM server/Vault right (we had done this before a year ago and it worked just fine, however SP IIQ instance was wiped out recently and we had to build it again and on top of it, CyberArk was upgraded from v13.x to v14.x) but SP IIQ is failing to listen port 8080. We are suspecting maybe there is a connection issue between SCIM server and Vault.

 

By the way, we checked all the network connectivity issue. Plz refer to below traffic flow diagram. All look right regarding network configuration as far as we can tell but for some reason port 8080 failing which is configured in Configy.yml file from the SCIM server.

 

# these servers are all AWS ec2 instances

SP IIQ: rhel 9

SCIM: windows server

CyberArk Vault: windows server

 

# port 8080 is not picked up

SP IIQ <- x -> SCIM <- ? -> Vault

 

# I ran telnet cmd from SP IIQ to SCIM server for testing connectivity

# I get connection timed out

telnet xxx.xxx.xxx.xxx 8080

 

# I also ran netstat cmd from SCIM server again port 8080

# nothing is returned but for other port like 80, is listening

netstat -an | findstr 8080

 

I'd greatly appreciate your input/advice!

 

Thank you!

 

8 REPLIES 8

L7 Applicator

Hi @Dae Yoon​ 

 

You can validate it using  SCIM Swagger UI

 

http(s)://<server ip/FQDN>:8443/swagger

 

Also by making sure that CyberArk SCIM Service is running properly.

 

Hope it helps !

Thank you @Malhar Vora​ for your reply back! Yes, I was aware of SCIM Swagger UI. I tried it the other day with port 8080, in our Config.yml, there is no port 8443 registered.

 

http://<SCIM_Server>:8080/swagger

 

but unfortunately, it wasn't working. I believe port 8080 is not listening but at this stage, me and other engineers can't fathom the cause. We checked all the components we know of.

 

We began to suspect Maybe there is connection failure between SCIM server and Vault which caused port 8080 to fail to listen. Just a thought.

How have you set the SCIM server to run? As a service? Is there a service running on the SCIM server?

 

Alternatively, do you have a .jar file for the SCIM server? If yes, can you try running the following command an admin cmd session in the folder with the jar file and the config.yml file: java -jar {SCIM_file}-{version}.jar server config.yml

 

This should kick off the server listening on port 8080. But you won't see any output until some operations are made. You can try accessing the SCIM server health status URL to confirm.

L3 Networker

@Tanishq Pandey​ 

 

I appreciate your reply back! It is started by windows service called CyberArk SCIM Server. It is running.

 

I am aware of the manual command which I had run but an error was thrown. According to the doc, if the SCIM server is already running, you would expect to see that particular error/exception.

 

I restarted aforementioned windows service multiple times but that didn't fix the issue.

 

And yes, I was aware of health status you told me about but port 8080 is dead so I can't access and check it including swagger page.

 

So the server is running, at least by windows service's perspective but no port 8080 is listening. That is the current status.

 

L7 Applicator

Hi @Dae Yoon​ 

 

Can you please check whether the port 8080 is used by any other application?

 

netstat -ano | findstr :8080

 

Please try to run curl command curl http://localhost:8080/scim/v2/Users and if it responds locally then the issue might be related to network or firewall rules.

yeah, I used netstat cmd to check port 8080 is listening from the SCIM server but nothing is returned. For other ports like 80/443 are listening.

 

I will give a try curl cmd locally. Thanks for your idea/suggestion.

 

 

with curl and Invoke-WebRequest cmds in powershell both returned with unable to connect to remote server error.

L7 Applicator

Hi @Dae Yoon​ 

 

It appears that port 8080 is not opened. Can you please telnet to port 8080?

  • 406 Views
  • 8 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!