I'm using Let's Encrypt for my Google App Engine site, so I'm generating certificates only, and while it's working, the process for verifying multiple domains seems clunky. I presume I'm doing something wrong, maybe I'm missing an optional argument? I'm following this guide, and starting as:
sudo ./letsencrypt-auto -a manual certonly
In the GUI I enter two domains
mydomain.com www.mydomain.com
The process from there, as far as I can tell is..
- GUI prompts me to agree to something
- The command line shows me the challenge request and response for mydomain.com
- I deploy the challenge response code to my site
- I hit Enter
- A challenge request is made to mydomain.com (I can see from my logs)
- The GUI again prompts me to agree to something
- The command line shows me the challenge request and response for www.mydomain.com
- I deploy the challenge response code to my site
- I hit Enter
- A challenge request is made to www.mydomain.com (I can see from my logs)
Then my certificates are made, and everything works. But I had to deploy twice, at step 3 and step 8. In my case www.mydomain.com and mydomain.com are served by exactly the same request handlers, so I'd much rather be told the challenge request/response text for both domains at step 2, so I can add both request/responses to my code at once, and then deploy once. This problem (and variants of it) get worse with a greater number of domains.
Is there a way to get LetsEncrypt to give all the challenge text at once? If not, I'll file this as a feature request, but right now I'm assuming I've just missed something.
thanks