greenlock | Automatic SSL renewal for NodeJS | TLS library

 by   coolaj86 JavaScript Version: v4.0.4 License: MPL-2.0

kandi X-RAY | greenlock Summary

kandi X-RAY | greenlock Summary

greenlock is a JavaScript library typically used in Security, TLS, Nodejs applications. greenlock has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Github does not expose the ability to automatically update mirrors, so this may lag behind the official repository which is found at:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              greenlock has a low active ecosystem.
              It has 46 star(s) with 7 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              greenlock has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of greenlock is v4.0.4

            kandi-Quality Quality

              greenlock has 0 bugs and 0 code smells.

            kandi-Security Security

              greenlock has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              greenlock code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              greenlock is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              greenlock releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed greenlock and discovered the below as its top functions. This is intended to give you an instant insight into greenlock implemented functionality, and help decide if they suit your requirements.
            • Create a plugin
            • Merge the given gria configuration options with defaults
            • Main program .
            • Run the challenge definition
            • Merge two objects
            • Notify an event .
            • Prints a help message .
            • Validates the given arguments object .
            • Load the plugin .
            • This writes the server .
            Get all kandi verified functions for this library.

            greenlock Key Features

            No Key Features are available at this moment for greenlock.

            greenlock Examples and Code Snippets

            No Code Snippets are available at this moment for greenlock.

            Community Discussions

            QUESTION

            How renew greenlock-express certificates forcefully at any time?
            Asked 2022-Jan-05 at 10:08

            I have CA certificates files in "greenlock.d/live/URL_PATH/". It's expiration date is Aug 2022.

            But I want to renew them right now to check whether they are renewing or not. Please suggest me how can I renew them at any time?

            What I have done:

            I have tried number of solutions like:

            • Tried Some commands
            • Changing renewal time ("renewAt") in "greenlock.d/config.json"
            Code:

            app.js

            ...

            ANSWER

            Answered 2022-Jan-05 at 10:08
            • Run these commands sequencially:
            1. npm init
            2. npm install --save greenlock-express@v4
            3. npx greenlock init --config-dir ./greenlock.d --maintainer-email 'jon@example.com'
            4. npx greenlock add --subject example.com --altnames example.com
            5. node server.js

            Reference : https://www.npmjs.com/package/greenlock-express#1-create-your-project

            Source https://stackoverflow.com/questions/70270569

            QUESTION

            Should I use Node.js Greenlock-Express with cluster mode at the same time I'm using pm2 cluster mode?
            Asked 2020-May-02 at 11:29

            I'm building an stateless Web application using Node.js, Express and pm2 for process management. In production environments, I run one instance of the application for each core of the server CPU (thanks to pm2 cluster mode).

            Recently I started to read about Greenlock-Express (for obtaining certificates automatically) and it also has a "cluster" property, which if I understand correctly it basically does the same thing as pm2 cluster mode.

            Will there be any collisions or possible issues if I run both Greenlock-Express and pm2 in cluster mode? If they do, what's the best alternative to obtain automatically SSL certificates with Node.js in a Windows enviroment? And if they do not, is it optimal to use both of them in cluster mode?

            ...

            ANSWER

            Answered 2020-May-02 at 11:29

            PM2 only implements partial cluster support.

            See https://git.rootprojects.org/root/greenlock-express.js/issues/26

            I'd recommend just using serviceman (cross-platform) or raw systemd (linux) or Docker (cloud deploys).

            If you are going to use PM2, you use Greenlock Express with it the same way that you would use it with Ruby, Python, etc - as a separate executable, not as a "built-in" app.

            PM2s default optimizations for node apps are already implemented in Greenlock Express, and since PM2 only has partial cluster support, there's not a way to tell PM2 to pass control to Greenlock Express, nor to have PM2 accept control from Greenlock Express.

            Also: Only use cluster mode if you actually have multiple CPU cores otherwise you'll cause thread thrashing and slow down your process.

            Source https://stackoverflow.com/questions/61550683

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install greenlock

            Greenlock is fully-automated, SSL Certificate Manager for IoT, Web Hosting, and Enterprise On-Prem, Edge, and Hybrid Cloud. (though we started building it for Home Servers). You can use it for one-off certificates, like certbot, but it is much more powerful than that. By setting just a few callbacks to let it know where it should store private keys and certificates, it will automatically renew any certificate that you add to it, as long as the process is running. Certificates are renewed every 45 days by default, and renewal checks will happen several times a day.
            Greenlock comes with reasonable defaults but when you install it, you should also install any plugins that you need.

            Support

            We're still working on the full documentation for this new version, so please be patient. To start, check out the Migration Guide. | Built by Root for Hub. Greenlock™ is an Automated Certificate Management Environement 🔐. | Greenlock | Greenlock Express | ACME.js |. It uses Let's Encrypt to generate Free SSL Certificates, including Wildcard SSL. It supports Automated Renewal of certs for Fully Automated HTTPS. It's written in plain JavaScript and works in Node, Browsers, and WebPack. the easiest way to integrate Let's Encrypt into your projects, products, and infrastructure. We've built it simple enough for Hobbyists, and robust enough for the Enterprise.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/coolaj86/greenlock.git

          • CLI

            gh repo clone coolaj86/greenlock

          • sshUrl

            git@github.com:coolaj86/greenlock.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular TLS Libraries

            mkcert

            by FiloSottile

            v2rayN

            by 2dust

            acme.sh

            by acmesh-official

            nginxconfig.io

            by digitalocean

            v2ray

            by 233boy

            Try Top Libraries by coolaj86

            formaline

            by coolaj86JavaScript

            libev-examples

            by coolaj86C

            json2yaml

            by coolaj86JavaScript

            node-localStorage

            by coolaj86JavaScript

            nodejs-ssl-example

            by coolaj86JavaScript