Install LetsEncrypt
On each machine, we’re going to install certbot
, a tool which generates certificates. To do that, we’ll pull some commands from the certbot install guidelines.
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 certbotIMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: node2.cluster.graph.center
Type: connection
Detail: Fetching
http://node2.cluster.graph.center/.well-known/acme-challenge/DzLZw7HErVrX9M0IJozTZa3ZHPGGVs2bDJ6jUQze5nI:
Connection refusedTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided. -
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.