Skip to content

Deprecation Warning for TLS 1.2 #1200

Open
@JPHutchins

Description

@JPHutchins

Context

  • OS and version used: Ubuntu 24.04
  • Python version: Python 3.12.3
  • pip version: pip 24.2
  • list of installed packages: NA
  • cloned repo: NA

Description of the issue

Receive deprecation warning from ssl module in the mqtt transport:

.venv/lib/python3.12/site-packages/azure/iot/device/common/mqtt_transport.py:324: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated
    ssl_context = ssl.SSLContext(protocol=ssl.PROTOCOL_TLSv1_2)

Unsure if it's any kind of problem or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions