This backports the following bug-fix commits from the master branch:
c6b4d7f367 ("acme: Include empty 'dns' config option by default")
983cc995a3 ("acme: Correctly handle domain state dir for ECC certificates")
Fixes#11675.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>