mirror of
https://github.com/mtan93/unifi-linux-utils.git
synced 2026-03-08 05:31:58 +00:00
Clarifying Fedora/RHEL vs Ubuntu/Deb options
This commit is contained in:
@@ -3,14 +3,14 @@
|
|||||||
# unifi_ssl_import.sh
|
# unifi_ssl_import.sh
|
||||||
# UniFi Controller SSL Certificate Import Script for Unix/Linux Systems
|
# UniFi Controller SSL Certificate Import Script for Unix/Linux Systems
|
||||||
# by Steve Jenkins <http://www.stevejenkins.com/>
|
# by Steve Jenkins <http://www.stevejenkins.com/>
|
||||||
# From https://github.com/stevejenkins/ubnt-linux-utils/
|
# Part of https://github.com/stevejenkins/ubnt-linux-utils/
|
||||||
# Incorporates ideas from https://source.sosdg.org/brielle/lets-encrypt-scripts
|
# Incorporates ideas from https://source.sosdg.org/brielle/lets-encrypt-scripts
|
||||||
# Version 2.3
|
# Version 2.4
|
||||||
# Last Updated November 27, 2016
|
# Last Updated Dec 24, 2016
|
||||||
|
|
||||||
# REQUIREMENTS
|
# REQUIREMENTS
|
||||||
# 1) Assumes you have a UniFi Controller installed and running on your system.
|
# 1) Assumes you have a UniFi Controller installed and running on your system.
|
||||||
# 2) Assumes you have a valid private key, signed certificate, and certificate
|
# 2) Assumes you already have a valid private key, signed certificate, and certificate
|
||||||
# authority chain file. See http://wp.me/p1iGgP-2wU for detailed instructions
|
# authority chain file. See http://wp.me/p1iGgP-2wU for detailed instructions
|
||||||
# on how to generate these files and use them with this script.
|
# on how to generate these files and use them with this script.
|
||||||
|
|
||||||
@@ -22,11 +22,15 @@
|
|||||||
|
|
||||||
# CONFIGURATION OPTIONS
|
# CONFIGURATION OPTIONS
|
||||||
UNIFI_HOSTNAME=hostname.example.com
|
UNIFI_HOSTNAME=hostname.example.com
|
||||||
|
# Uncomment following two lines for Fedora/RedHat/CentOS
|
||||||
UNIFI_DIR=/opt/UniFi
|
UNIFI_DIR=/opt/UniFi
|
||||||
#UNIFI_DIR=/usr/lib/unifi
|
|
||||||
UNIFI_SERVICE=UniFi
|
UNIFI_SERVICE=UniFi
|
||||||
|
# Uncomment following two lines for Debian/Ubuntu
|
||||||
|
#UNIFI_DIR=/var/lib/unifi
|
||||||
|
#UNIFI_SERVICE=unifi
|
||||||
|
|
||||||
# FOR LET'S ENCRYPT SSL CERTIFICATES ONLY
|
# FOR LET'S ENCRYPT SSL CERTIFICATES ONLY
|
||||||
|
# Generate your Let's Encrtypt key & cert with certbot before running this script
|
||||||
LE_MODE=no
|
LE_MODE=no
|
||||||
LE_LIVE_DIR=/etc/letsencrypt/live
|
LE_LIVE_DIR=/etc/letsencrypt/live
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user