1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/letsencrypt
Zack Scholl c789b56966 Removed ~
Former-commit-id: 29eee59130b02f9bb9033138ee052ba720fcda1e [formerly 3d90801f2a731afebef1cdb915ab118096ce8469] [formerly b28d4c4de6b0de9f947a45a1430a79fbb31ae037 [formerly e04fe77c12]]
Former-commit-id: 00c07b3e06b9dec926f7c6c7fcef8fce0ec15f8a [formerly f7ac93a564315020dcc807bff0a447ace7ce5960]
Former-commit-id: dac8f850c3a3fbbc6a4235b99b541983628db263
2016-03-19 11:32:31 -04:00
..
cowyo.init Updated and renamed 2016-03-19 11:31:47 -04:00
cowyo.ssl.nginx Updated and renamed 2016-03-19 11:31:47 -04:00
Makefile Updated and renamed 2016-03-19 11:31:47 -04:00
README.md Updated and renamed 2016-03-19 11:31:47 -04:00

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 cowyo with

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