cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Invalid Certificate : X509_VFY_ERROR_BASIC_CONSTRAINT

jpower
1-Visitor

Invalid Certificate : X509_VFY_ERROR_BASIC_CONSTRAINT

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.


Thanks

1 REPLY 1
CRArko
17-Peridot
(To:jpower)

Hello, John.

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:

Trust & Encryption - Hands On

I wonder if the certificate is set to be using the correct hostname for your Pi server.

-- Craig A.

Announcements


Top Tags