1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/letsencrypt/README.md

18 lines
500 B
Markdown
Raw Normal View History

2016-02-14 04:32:15 +03:00
First install the NGINX block in this directory.
2016-02-14 04:22:37 +03:00
To use letsencrypt follow these steps:
```
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
2016-02-14 04:32:15 +03:00
sudo service nginx stop
2016-02-14 04:22:37 +03:00
sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com
2016-02-14 04:32:15 +03:00
sudo service nginx start
2016-02-14 04:22:37 +03:00
```
2016-02-14 04:26:01 +03:00
2016-02-14 04:32:15 +03:00
Then startup `awwkoala` with
2016-02-14 04:26:01 +03:00
```bash
sudo ./awwkoala -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com
```