Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 496 Bytes

README_HTTPS.md

File metadata and controls

23 lines (16 loc) · 496 Bytes

How to enable https (use let's encrypt)

install certbot

see: https://certbot.eff.org/#ubuntuxenial-other

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot 

generate cert

certbot certonly --manual -d zkweb.org --config-dir . --work-dir . --logs-dir .

update website

Change IndexController.RequestHttps to return the text certbot required.