Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Richie
Participant

python and web web api

I  was try  to run the sample Python script that use the web-service API  on Check Point Management API reference but  I got these errors when run the sample  python scripts . Can anyone help me with this problem

5 Replies
PhoneBoy
Admin
Admin

Forget the exact option, but you need to tell Python to trust the SSL certificate that comes from the API server.

Art_Zalenekas
Employee
Employee

Rob_A
Participant

Try this

import requests, urllib3, urllib3.disable_warnings()

 

Richie
Participant

Hi PhoneBoy 

 

I wan to know if it done this way to  connecting to the management server by python scripts

PhoneBoy
Admin
Admin

Looks right to me, but I'm also not a Python expert.
Copy/pasting the code directly in the community would make it a lot easier for others to comment/confirm.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events