Can I use TLS version 1.1 or 1.2 in python 2?

后端 未结 3 618
梦如初夏
梦如初夏 2021-01-12 06:08

I read a document that says that Python 2 only has ssl.PROTOCOL_TLSv1 constant, and that ssl.PROTOCOL_TLSv1_1 and ssl.PROTOCOL_TLSv1_2

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 06:42

    With my apologies for resurrecting an old question, it appears that support for TLS1.1 and TLS1.2 will be brought in for Python 2.7.9, scheduled for release around December 2014.

提交回复
热议问题