GithubHelp home page GithubHelp logo

Comments (6)

SummerSun avatar SummerSun commented on July 17, 2024

I tried xio_setoption:

XIO_HANDLE tlsio = (XIO_HANDLE)context;
xio_setoption(tlsio, "TrustedCerts", certificates);

Same error.

from azure-c-shared-utility.

ewertons avatar ewertons commented on July 17, 2024

Hi @SummerSun , we will be investigating this issue soon.

Thanks for reporting it.

from azure-c-shared-utility.

tameraw avatar tameraw commented on July 17, 2024

@SummerSun - Is this still an issue for you? Also, the authmode should be set to MBEDTLS_SSL_VERIFY_REQUIRED.

from azure-c-shared-utility.

SummerSun avatar SummerSun commented on July 17, 2024

@tameraw - Hi, thanks for asking. The issue is still there for me. Have to set to OPTIONAL to workaround it. ewertons said would be investigating the issue, not sure if there's any find?

from azure-c-shared-utility.

JetstreamRoySprowl avatar JetstreamRoySprowl commented on July 17, 2024

@SummerSun - I was able to successfully run the tlsio_mbed on an ESP32 using MBEDTLS_SSL_VERIFY_REQUIRED by setting the "TrustedCerts" option with the certs defined here. If you look at the Azure IoT mqtt sample and make sure MBED_BUILD_TIMESTAMP is defined you'll see how and when the cert needs to be set to make it work properly.

from azure-c-shared-utility.

SummerSun avatar SummerSun commented on July 17, 2024

I made it to set the trusted certificates to send request and I will give it a try again.

from azure-c-shared-utility.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.