It seems to be a certificate issue, the SSLConfig needs to take in paths to a certificates public and private keys.
A certificate can be made on linux using openssl req -x509 -nodes -newkey rsa:2048 -keyout selfsigned_client.key -out selfsigned_client.cert
This will however not be able to work by default as it is not signed by a certificate authority, so you need to do MbedTLS.authmode!(conf, MbedTLS.MBEDTLS_SSL_VERIFY_NONE) after conf = MbedTLS.SSLConfig() to disable that check.
This should only be done for development purposes id assume though as its unsafe
1 Like