Let's Encrypt - update for multiple domain SAN

This is a follow-up to my previous post on Let’s Encrypt and CloudFront.

I replaced the cert yesterday with one covering both www and the root domain. I just re-ran the command adding the second domain name:

./letsencrypt-auto certonly -a manual -d www.paulwakeford.info -d paulwakeford.info --server https://acme-v01.api.letsencrypt.org/directory --agree-dev-preview --debug

I had to turn off the CloudFront http to https redirector to get the validation done for paulwakeford.info, otherwise it was almost the same from step 9 onwards. This time I created the validation file as .txt, added the required content, then renamed the file — that way the content type was already set to text/plain. I also didn’t get the error message at step 12.