Skip to content

Adding secure connections

Peter Kwan edited this page Sep 23, 2021 · 4 revisions

Secure connection

Disclaimer: These are just notes. It isn't implemented yet. I think the way to do it is sign your own certificate with lets-encrypt. Then do something clever with Express that uses the public key to run an https connection.

Because of the way that browsers are locking down vulnerabilities is is increasingly important to install certificates on websites.

https://certbot.eff.org/lets-encrypt/debianstretch-nginx

The idea is to get your email address linked to the website. The certificate is validated by certbot that places a file on your website that can be picked up by the ACM server. Enter your email address, domain name (www.xenoxxx.com). The webroot is the path to the public web folder. /home/pi/teefax/muttlee/public

Copy all of the output. It points to your private key and the renewal details.

Clone this wiki locally