Giter Site home page Giter Site logo

Comments (3)

chewi avatar chewi commented on August 19, 2024 1

Thanks for your quick reply!

I figured out the problem. I hadn't noticed that autossl.init takes two tables and api_uri needs to go in the second one. Other settings like account_email are copied over so this is a bit confusing.

Unfortunately I didn't get my project working in time but I was close so maybe I'll continue it. Some problems stemmed from testing with Pebble and I'll be filing a couple of pull requests to address those. I'll keep this issue open until it is resolved.

from lua-resty-acme.

fffonion avatar fffonion commented on August 19, 2024 1

This is already implemented in #16

from lua-resty-acme.

fffonion avatar fffonion commented on August 19, 2024

Hi @chewi , account key is currently read ad file if defined, or generate on the fly when autossl initializes. Patches are definitely welcomed to load account key from storage backend. You will want to do that in AUTOSSL.init_worker while cosocket api is available.

Domain keys however are always stored together with certificates in storage. (You can use domain_keys_path to desiginite one but that's mainly used for testing, in production you will want omit that and generate different keys per domain on the fly).

Could you share with me an example on how you are using api_uri and it's not effective?

from lua-resty-acme.

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.