Skip to content

zingdevlimited/CertRenewal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cert Renewal

Overview

Quick application to generate a Lets Encrypt certificate for specific sub domain or wildcard for a given domain whereby the domains DNS is managed by an Azure DNS provider and you are logged into the subscription via the Azure CLI.

Requirements

Node Installed. Azure CLI Installed.

Usage

Login to the Azure CLI

az login

Note: the user account you login as must have permissions to create and delete record sets in the Azure DNS provider.

Update the values in index.ts for the certificate you wish to generate.

The application supports generating certs for:

  • root level
  • any subdomain
  • wildcard

The application supports both staging mode, for testing, and production mode for generating a real certificate.

Note: it is recomended to use staging mode first to make sure your command is correct so you don't hit Lets Encrpyt's usage limits.

Run npm i to install the dependancies.

Run npm run start to launch the script.

Certificate details will be written to the console.

About

node application to generate certificate for a sub-domain or wildcard using Lets Encrypt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published