Skip to content

Commit

Permalink
Restore author paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaethorn committed Oct 18, 2017
1 parent dfffc63 commit 401da36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Persistent Let's Encrypt with the Ubiquiti Edge Router Lite

Originally by photinus
Modified by [kaethorn](https://github.com/kaethorn/)
Modified by [rholmboe](https://github.com/kaethorn/)

Disclaimer:
> You will be modifying some of the inner workings of your edgerouter. This could break your router. I believe the steps I outline here are generally safe, but you will be issuing commands as root and can do damage easily. Be careful.
Expand Down Expand Up @@ -29,7 +29,7 @@ set firewall name WAN_LOCAL rule 15 protocol tcp
SSH into your EdgeRouter and issue following command

```
curl https://raw.githubusercontent.com/kaethorn/ubnt-letsencrypt/master/install.sh | sudo bash /dev/stdin public.dynamic.dns.of.your.router
curl https://raw.githubusercontent.com/rholmboe/ubnt-letsencrypt/master/install.sh | sudo bash /dev/stdin public.dynamic.dns.of.your.router
```
*Important* change public.dynamic.dns.of.your.router to whatever yours is!

Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ fqdn=$1
cp /etc/lighttpd/server.pem /config/letsencrypt/oldcert.pem
curl -o /config/letsencrypt/acme_tiny.py https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py
chmod 755 /config/letsencrypt/acme_tiny.py
curl -o /config/letsencrypt/letsrenew.sh https://raw.githubusercontent.com/kaethorn/ubnt-letsencrypt/master/letsrenew.sh
curl -o /config/letsencrypt/letsrenew.sh https://raw.githubusercontent.com/rholmboe/ubnt-letsencrypt/master/letsrenew.sh
chmod 755 /config/letsencrypt/letsrenew.sh
ln -sf /config/letsencrypt/letsrenew.sh /etc/cron.monthly/letsrenew.sh
curl -o /config/scripts/post-config.d/install_letsencrypt.sh https://raw.githubusercontent.com/kaethorn/ubnt-letsencrypt/master/install_letsencrypt.sh
curl -o /config/scripts/post-config.d/install_letsencrypt.sh https://raw.githubusercontent.com/rholmboe/ubnt-letsencrypt/master/install_letsencrypt.sh
chmod 755 /config/scripts/post-config.d/install_letsencrypt.sh

echo "Generate keys to be used in our signed certificate"
Expand All @@ -27,7 +27,7 @@ echo "Generate keys to be used in our signed certificate"

echo "Making lighttpd configurations and restarting daemon so letsencypt and verify we own this domain via .well-known/acme-challenge/"
[ -d /config/lighttpd ] || mkdir /config/lighttpd/
curl -o /config/lighttpd/lighttpd.conf https://raw.githubusercontent.com/kaethorn/ubnt-letsencrypt/master/lighttpd.conf
curl -o /config/lighttpd/lighttpd.conf https://raw.githubusercontent.com/rholmboe/ubnt-letsencrypt/master/lighttpd.conf
ln -sf /config/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf
cat /var/run/lighttpd.pid | xargs kill
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
Expand Down

0 comments on commit 401da36

Please sign in to comment.