If you receive

Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

error in certbot.

You can solve the problem by doing these:

First, stop nginx or your http service.

service nginx stop

then start certbot like this:

certbot --authenticator standalone --installer nginx -d yourdomain.com