Skip to content

LeePorte/unifi-lets-encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unifi controller with added Let's Encrypt

This repo is a method to use DNS verification to gain Let's Encrypt certificates for a Ubiquiti Unifi controller.

It does not require the installation of the let's encrypt client.

Contained within this repo is a copy of acme.sh and dns_he.sh taken from https://github.com/Neilpang/acme.sh

Any of the DNS provders from https://github.com/Neilpang/acme.sh will work with this script

Usage

  1. Clone this repo to a location of your choosing on the machine where the controller is running
  2. Update ACMEHOME in renew.acme.sh
  3. Run chmod +x *.sh
  4. If you are using Hurricane Electric's DNS execute the following
./renew.acme.sh -d <UNIFI_DOMAIN_NAME> -n dns_he -t "HE_Username" -t "HE_Password" -k "<USERNAME>" -k "<PASSWORD>"

If you are not using Hurricane Electric please visit https://github.com/Neilpang/acme.sh and download the appropriate provider and adjust the command for that provider.

Finally set up a cron job to run this once a month to keep your certs updated.

Thanks to

About

Unifi controller with added Let's Encrypt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages