How do you add certificates for a newly setup website? Like this:
sudo ./letsencrypt-auto run -d www.friluftslivifjallen.se,friluftslivifjallen.se --redirect
I have the old letsencrypt client installed so for a newer installation change letsencrypt-auto
to certbot
. More about the certbot command line options can be found here.
This post is just a quick self-reminder to be used in the future when I set up new sites on my server.