Skip to content

Instantly share code, notes, and snippets.

View lrobinot's full-sized avatar
💤
I may be slow to respond.

Ludovic ROBINOT lrobinot

💤
I may be slow to respond.
View GitHub Profile
@nitobuendia
nitobuendia / import_ssl_certificates.sh
Created January 3, 2021 11:50
Import letsecrypt certificates to UniFi Controller
#!/usr/bin/env bash
# Modified from:
# https://github.com/jacobalberty/unifi-docker/blob/master/import_cert
echo "Loading constants"
DATADIR="/usr/lib/unifi/data"
CERTDIR="/ssl"
CERTNAME="fullchain.pem"