1,106
edits
Technician (talk | contribs) |
Technician (talk | contribs) |
||
Line 112: | Line 112: | ||
=== Initialize LetsEncrypt === | === Initialize LetsEncrypt === | ||
First, initialize the certbot configuration: | |||
certbot register -n --agree-tos -m technician@feministwiki.org | |||
certbot | |||
Since various DNS entries still point to the old server, we can't get a cert for the real domains yet. For now, just get one for feministwiki.dev: | |||
ufw allow 80 | |||
letsencrypt-refresh --dev-only | |||
ufw delete allow 80 | |||
Our <code>letsencrypt-refresh</code> script makes sure that the cert files are found in <code>/etc/fw-certs</code> and that the private key and cert-and-key bundle are owned by the "ssl-cert" group and are readable by group members. A number of users have to be added to this group so they can read said files: | |||
adduser ejabberd ssl-cert | |||
adduser irc ssl-cert | |||
=== Stop services on old server === | === Stop services on old server === |