Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added SSL support and certifi to Dockerfile #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

utya
Copy link

@utya utya commented Nov 20, 2024

• Added SSL/TLS support for MQTT communication.
• Updated the Dockerfile to install the certifi library for SSL/TLS verification.
• Modified the MQTT connection code to handle secure connections using SSL certificates.

@Domochip
Copy link
Owner

hello, will it still work for mqtt server which do not support TLS?

@utya
Copy link
Author

utya commented Nov 20, 2024

hello, will it still work for mqtt server which do not support TLS?

let me check, and i will answer

@utya
Copy link
Author

utya commented Nov 20, 2024

with tls

08:52:52: ===== sms2mqtt v1.4.6 =====

08:52:57: Gammu runtime: v1.41.0

08:52:57: Python-gammu runtime: v3.2

08:52:57: Manufacturer: Huawei

08:52:57: IMEI: 358705030387072

08:52:57: SIMIMSI: 250026279788150

08:52:57: Gammu initialized

08:52:57: SSL/TLS configured successfully

08:52:58: Incomplete Multipart SMS (1/2): waiting for parts

08:52:58: Connected to MQTT host

without tls

      
08:55:53: ===== sms2mqtt v1.4.6 =====

08:55:58: Gammu runtime: v1.41.0

08:55:58: Python-gammu runtime: v3.2

08:55:58: Manufacturer: Huawei

08:55:58: IMEI: 358705030387072

08:55:58: SIMIMSI: 250026279788150

08:55:58: Gammu initialized

08:55:58: Connecting without SSL/TLS

08:55:59: Incomplete Multipart SMS (1/2): waiting for parts

08:55:59: Connected to MQTT host

08:56:00: Incomplete Multipart SMS (1/2): waiting for parts

08:56:01: Incomplete Multipart SMS (1/2): waiting for parts

08:56:03: Incomplete Multipart SMS (1/2): waiting for parts

@utya
Copy link
Author

utya commented Nov 20, 2024

but im using LetsEnctrypt

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants