Giter VIP home page Giter VIP logo

Comments (2)

lws-team avatar lws-team commented on June 6, 2024

Hm

[1970/01/01 00:00:04:8900] NOTICE: lws_tls_server_certs_load: no paths

basically it never loaded the generated cert.

It loads then using info->ssl_cert_filepath and info->ssl_private_key_filepath during the call to lws_esp32_init.

In -factory it has like this

        info.ssl_cert_filepath = "ap-cert.pem";
        info.ssl_private_key_filepath = "ap-key.pem";
        info.simultaneous_ssl_restriction = 3;

        nvs_flash_init();
        lws_esp32_wlan_config();

        ESP_ERROR_CHECK( esp_event_loop_init(event_handler, NULL));

        lws_esp32_wlan_start_ap();
        /* this configures the LED timer channel 0 and starts the fading cb */
        context = lws_esp32_init(&info, &vh);

I guess you started with an older factory before the last changes to always TLS... you need to adapt your code to follow that part of what is in -factory.

from lws-esp32-factory.

mile4712 avatar mile4712 commented on June 6, 2024

Thank you very much, it works now!

from lws-esp32-factory.

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.