cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
723
Views
0
Helpful
1
Replies

SDWAN Viptela vManage j_security_check API calling issue

pawan_gupta
Level 1
Level 1

Hi,

I am getting SSL Connect error while calling POST vManage j_security_check API as per below snapshot.please help me on this how to resolve SSL error.

WhatsApp Image 2022-10-10 at 12.04.45 PM.jpg

1 Reply 1

BlackAvatar
Level 1
Level 1

Hello Pawan 

You need to turn off ssl verification 

I'm not sure how this is done in curl but with python requests library, you add verify=False in your post request.

 

payload='j_username=****&j_password=******'
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
}
response = requests.post(url=url, headers=headers, data=payload, verify=False)
 
You need to research how to do this with curl