I'm getting an error using the SteamSensor example of the C Edge SDK on Raspberry Pi with the TW_HOST changed to me server :
twTlsClient_Connect: Error initializing TLS connection. Invalid Certificate.
When I dig down deeper, I get a Result of -11 in TW_VALIDATE_CERT (in twAxTls.h) after subtracting the SSL_X509_OFFSET which corresponds to X509_VFY_ERROR_BASIC_CONSTRAINT
Anyone have any idea what this means? I have no problem getting an SSL session using a browser or using CURL.
I don't find much of anything useful about X509_VFY_ERROR_BASIC_CONSTRAINT.
For the twTlsClient_Connect: Error initializing TLS connection. Invalid Certificate. the place to begin is this post is the Community:
I wonder if the certificate is set to be using the correct hostname for your Pi server.
-- Craig A.