Skip to content

Commit 53ae1ed

Browse files
committed
unifi letsencrypt
1 parent 0c9bbcb commit 53ae1ed

3 files changed

Lines changed: 21 additions & 2 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ git clone https://github.com/github/pages-gem.git
1717
cd pages-gem
1818
make image
1919
# in current dir
20-
# disable markdown: CommonMarkGhPages in _config.yml
2120
docker run -it --rm -v "$PWD":/src/site -p "4000:4000" gh-pages /bin/bash -c "bundle install --gemfile=/src/site/Gemfile; jekyll serve --watch --force_polling -H 0.0.0.0 -P 4000 --drafts"
2221
```
2322

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
theme: minima
2-
markdown: CommonMarkGhPages
2+
# disabled on purpose, otherwise docker run fails locally
3+
# haven't seen any difference on gh pages :)
4+
# markdown: CommonMarkGhPages
35
title: Maksym Romanowski
46
author: Maksym Romanowski
57
description: >
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: post
3+
title: "Adding Let's Encrypt TLS certificate to UniFi"
4+
category: unifi
5+
author: Maksym Romanowski
6+
tags: [unifi, letsencrypt, tl;dr]
7+
---
8+
## TL;DR
9+
This snippet installs Let's Encrypt TLS certificate, ensures it is renewed, and makes sure that UniFi is resolved to LAN IP when accessed via FQDN in TLS certificate.
10+
11+
## Environment
12+
- UniFi OS 4.4.6
13+
- UniFi Network 10.0.162
14+
- [kchristensen/udm-le commit `316a8509063ce5161436c49a844da18de2681d27`](https://github.com/kchristensen/udm-le/commit/316a8509063ce5161436c49a844da18de2681d27)
15+
16+
## Configuration
17+
- Follow installation instructions in [udm-le Readme](kchristensen/udm-le/commit/316a8509063ce5161436c49a844da18de2681d27)
18+
- Add `A` DNS record pointing to UniFi device LAN IP in Policy Engine

0 commit comments

Comments
 (0)