This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Ref: https://www.reddit.com/r/Ubiquiti/comments/43v23u/using_letsencrypt_with_the_unifi_controller/ | |
# Original: https://source.sosdg.org/brielle/lets-encrypt-scripts/raw/master/gen-unifi-cert.sh | |
# --- | |
# Modified script from here: https://github.com/FarsetLabs/letsencrypt-helper-scripts/blob/master/letsencrypt-unifi.sh | |
# Modified by: Brielle Bruns <bruns@2mbit.com> | |
# Download URL: https://source.sosdg.org/brielle/lets-encrypt-scripts | |
# Version: 1.3 | |
# Last Changed: 03/21/2017 | |
# 02/02/2016: Fixed some errors with key export/import, removed lame docker requirements |