You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to connect to some device over TLS and try one certs and then if it fails try another.
I couldn't find how to reuse the same socket, so it forces me to disconnect and reconnect to try the 2nd certs.
Is there a way to do that?
I'm not using the latest esp-mbedtls but I don't think things changed on that front. Couldn't find in the code a way to swap certs, nor to get the socket back from the session.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I need to connect to some device over TLS and try one certs and then if it fails try another.
I couldn't find how to reuse the same socket, so it forces me to disconnect and reconnect to try the 2nd certs.
Is there a way to do that?
I'm not using the latest esp-mbedtls but I don't think things changed on that front. Couldn't find in the code a way to swap certs, nor to get the socket back from the session.
Is there some way I missed?
Beta Was this translation helpful? Give feedback.
All reactions