Python 3 urllib ignore SSL certificate verification

前端 未结 2 1510
一生所求
一生所求 2021-02-05 05:50

I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it.

How do you ignore SSL verification in the Python 3 ver

2条回答
  •  灰色年华
    2021-02-05 06:18

    Python 3.0 to 3.3 does not have context parameter, It was added in Python 3.4. So, you can update your Python version to 3.5 to use context.

提交回复
热议问题