SSL ESP32
Posted: Wed Aug 21, 2019 1:45 pm
import ssl
import socket
s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC)
>>> import socket
>>> import ssl
>>> s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'IPPROTO_SEC'
>>>
Can you help me ?
I want a easy method to access aws iot (i have the certicates..in other post i showed the problem with mqtt, now i will try "socket"
not easy!
Works for you ?
import socket
s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC)
>>> import socket
>>> import ssl
>>> s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'IPPROTO_SEC'
>>>
Can you help me ?
I want a easy method to access aws iot (i have the certicates..in other post i showed the problem with mqtt, now i will try "socket"
not easy!
Works for you ?