Giter Club home page Giter Club logo

Comments (3)

squeek502 avatar squeek502 commented on June 3, 2024

Some debugging:

  • The expected call that's missing is the main callback passed to https.request
  • Adding:
    req:on('error', function(...)
      p(...)
    end)

to the test gives:

{ message = 'certificate has expired' }

from luvit.

creationix avatar creationix commented on June 3, 2024

Chrome likes the cert:
image
Curl also likes it:

* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=luvit.io
*  start date: Nov 17 23:22:42 2021 GMT
*  expire date: Feb 15 23:22:41 2022 GMT
*  subjectAltName: host "luvit.io" matched cert's "luvit.io"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use

But luvit doesn't like it:
image

My local luvit's ssl version seems fine: ssl version: OpenSSL 1.1.1g 21 Apr 2020, lua-openssl 0.7.8

Super weird!

from luvit.

creationix avatar creationix commented on June 3, 2024

Root certs need updating.

I also added a script to document the process.

from luvit.

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.