How to verify login credentials/connectivity to vManage server using curl
search cancel

How to verify login credentials/connectivity to vManage server using curl

book

Article ID: 228018

calendar_today

Updated On:

Products

CA Virtual Network Assurance DX NetOps

Issue/Introduction

How can I  verify log-in credentials/connectivity to the vManage server using curl to ensure I am using the correct credentials in DX Netops Virtual Network Assurance (VNA) to configure the Viptela plugin.

Environment

Release :  21.2.x, 22.2.x

Component : PMVNA, SPCVNA

Resolution

Replace USERNAME/PASSWORD/VMANAGEIP/VMANAGEPORT accordingly:

curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=USERNAME&j_password=PASSWORD' https://VMANAGEIP:VMANAGEPORT/dataservice/j_security_check

Example:

curl -X POST -v -k -H "Content-Type: application/x-www-form-urlencoded" -d 'j_username=adminuser&j_password=adminuserpassword' https://xx.xx.xx.xx443/dataservice/j_security_check

Additional Information

 

  • SSL_ERROR_SYSCALL errors are a good indicator that there is a firewall blockage: