2016-02-14 04:38:54 +03:00
|
|
|
First install the NGINX block in this directory. (There is an experimental Makefile that will do this, just try `sudo make install`.
|
2016-02-14 04:32:15 +03:00
|
|
|
|
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
|
|
|
|
```
|