The key authorization file from the server did not match this challenge (Letsencrypt)

The common cause of the error "The key authorization file from the server did not match this challenge" on Letsencrypt is that the domain name cannot be resolved correctly. You must make sure the domain is directing to the server and can be accessed from the outside network.