Using Micropython 1.16-135, I have found out that ESP32 can in fact run an encrypted connection and communicate with it on non-blocking sockets.
Certificate and key were made using RSA2048b with AWS IoT service.
They were pushed in the config like so:
config['ssl_params'] = {'cert: 'content_of_cert', 'key': 'content_of_key'}
Using Micropython 1.16-135, I have found out that ESP32 can in fact run an encrypted connection and communicate with it on non-blocking sockets.
Certificate and key were made using RSA2048b with AWS IoT service. They were pushed in the config like so:
config['ssl_params'] = {'cert: 'content_of_cert', 'key': 'content_of_key'}