/nodejs-auto-certbot

uses the auth hook to automatically generate https certs with certbot

Primary LanguageJavaScript

Certbot Verification Automation Script

This Node.js script automates the Certbot verification process for obtaining SSL/TLS certificates using the Certbot tool.

Features

  • Automates the process of obtaining SSL/TLS certificates using Certbot.
  • Easily configurable

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js installed on your system.
  • Certbot installed
  • Requires appropriate permissions for execution.

Setting up permissions

Installation

  1. Clone this repository to your local machine
  2. Run npm install
  3. Set the certbotDomain ENV variable
  4. Run sudo node index.js OR node index.js as root