Encountered exception during recovery
An unexpected error occurred:
KeyError: u'(the first out of the 10 domains is here)'
Please see the logfiles in /var/log/letsencrypt for more details.
As far as I know with my limited testing (like, 10 seconds), that’s not allowed.
I think the --webroot-map wants a "example.com": "/var/www/" combo. I.e.: single domain with the corresponding webroot-path. I’m afraid you should duplicate the : "/var/www/" part a few times
Note: the use of --webroot-map is more an internal thing and is only usefull in this instance because of your use of the CSR… (Buggy --webroot-path and the sorts)… When the CSR-webroot-path bug is solved, you won’t be needing --webroot-map any longer.
The u'domain.tld' type error should be solved in the current version on GitHub, which will be the basis of the forthcoming 0.4.0 release; with that release, other workarounds shouldn’t be necessary. But please let us know if anyone comes across this kind of problem after that.