Skip to content

Deprecation Warning for TLS 1.2 #1200

Description

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.

Activity

  1. cartertinney commented on Jan 17, 2026

    @cartertinney
    Member

    Addressed in #1212 with release coming soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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