1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/letsencrypt/README.md
Zack 442eb7bb87 Update README.md
Former-commit-id: 0fdc8690b9a00ddc35d15dbf1de6a77ca609079b [formerly 95f2e44070b27cf61dc505ffa9484e26739de519] [formerly f8702275a09665a81149ce1e9b047b377723dcdc [formerly 9b69e155d8]]
Former-commit-id: 597855b2b9230a12d500fe5d74a3b0c487405950 [formerly 7f72d8ac8098aad6be3bd585bc7dc9a96de9f19a]
Former-commit-id: ab610c0cf42bdbae0bf0c00a28007f7235054625
2016-02-13 20:38:54 -05:00

583 B

First install the NGINX block in this directory. (There is an experimental Makefile that will do this, just try sudo make install.

To use letsencrypt follow these steps:

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
sudo service nginx stop
sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com
sudo service nginx start

Then startup awwkoala with

sudo ./awwkoala -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com