Code Monkey home page Code Monkey logo

Comments (4)

pyrossh avatar pyrossh commented on May 24, 2024

Yep. I'm not able to use the latest version of the package anymore.
This is the error that I get,


====================================================================
==                     greenlock.js (v2.2.0+)                     ==
====================================================================

Please specify 'version' option:

        'draft-11' for Let's Encrypt v2 and ACME draft 11
        ('v02' is an alias of 'draft-11'

or

        'v01' for Let's Encrypt v1 (deprecated)

====================================================================
==      this will be required from version v2.3 forward           ==
====================================================================





=== WARNING ===

Due to versioning issues the 'staging' option is deprecated. Please specify the full url and version.

	--acme-url 'https://acme-staging.api.letsencrypt.org/directory' \
	--acme-version 'v01' \



=== WARNING ===

Let's Encrypt v1 is deprecated. Please update to Let's Encrypt v2 (ACME draft 11)

{ Error: Cannot find module 'le-acme-core'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)

If you require v01 API support (which is deprecated), you must install it:

	npm install le-acme-core

from auto-sni.

coolaj86 avatar coolaj86 commented on May 24, 2024

What is it about that error message that is unclear to you and makes you think that it won’t work for you?

I tried to make it clear what action needs to be taken, but the fact that your posting it and saying you can’t use it means that I failed.

It’s saying you need to specify version ‘v01’ or ‘draft-11’, and that you need to npm install le-acme-core I’d you want to use v01, but it’s deprecated, so you should probably upgrade to ‘draft-11’.

What can I change to make that message more clear?

from auto-sni.

coolaj86 avatar coolaj86 commented on May 24, 2024

Oh, you’re saying that auto-sni broke with my latest changes.

All you have to do is the npm install le-acme-core and it’ll work (or the auto-sni package can add the new urls).

I may back part of that change out and republish. I don’t want to break compatibility with modules that aren’t updated yet.

from auto-sni.

pyrossh avatar pyrossh commented on May 24, 2024

Ohh.. I just thought this was an issue for auto-sni to be updated to latest upstream changes you made. I want to stick to the latest le version also and don't know how to pass the version attribute as there is no documentation on that in auto-sni. For now I switched to greenlock-express and its working fine.

Also btw the error which is shown above came from running the auto-sni setup.
Funny how the error message for this package contained this,

====================================================================
==                     greenlock.js (v2.2.0+)                     ==
====================================================================

Which confused this entire thread and also you mentioning the greenlock package in the first comment.

from auto-sni.

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.