InsecureRequestWarning: Unverified HTTPS request is being made in Robot Framework.

Viewed 15288

Hi I'm Using Robot Framework.

I'm trying to send a Get Request but I get the following warning

C:\Python27\lib\site-packages\urllib3-1.21.1-py2.7.egg\urllib3\connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning)

Has anyone had this problem? As I've searched for a solution one of the advice was to disable the warning, but how to do it?

Thanks in Advance,

2 Answers

Create Session along with verify=true, by default it's verify=false

Create Session test_session http://www.example.com **verify=true**

Related