# Sudo certbot does not work

**URL:** <https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065>\
**Category:** Help\
**Created:** [March 19, 2018, 10:08pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065 "2018-03-19T22:08:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscarencrypt](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oscarencrypt](https://community.letsencrypt.org/u/oscarencrypt)\
**Post date:** [March 19, 2018, 10:08pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/1 "2018-03-19T22:08:41Z")

</div>

install letsencrypt like this a few months ago, like this:

```
sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository ppa: certbot / certbot
sudo apt-get update
sudo apt-get install python-certbot-apache

```

and it worked perfectly for my 10 domains. Currently the domains are renewed without problems. But the new domains when doing:  
sudo certbot --apache -d [mydomain.com](http://mydomain.com) -d [www.mydomain.com](http://www.mydomain.com)

I get this message:  
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA

but with the other domains it worked.

What commands should I use now for new domains ?:

```
sudo certbot --authenticator webroot --installer apache --webroot-path /var/www/mydomain.com -d mydomain.com -d www.mydomain.com

sudo certbot --authenticator webroot --installer apache --webroot-path /var/www/mydomain.com -d mydomain.com -d www.mydomain.com

```

apache \ vs apache \

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [March 19, 2018, 10:15pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/2 "2018-03-19T22:15:06Z")

</div>

> [@oscarencrypt](#):
>
> sudo certbot --authenticator webroot --installer apache --webroot-path /var/www/mydomain.com -d [mydomain.com](http://mydomain.com) -d [www.mydomain.com](http://www.mydomain.com)

Should work fine.

.....20characterpostlimit

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [March 19, 2018, 10:39pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/3 "2018-03-19T22:39:50Z")

</div>

See also

> [@Solution: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA](https://community.letsencrypt.org/t/solution-client-with-the-currently-selected-authenticator-does-not-support-any-combination-of-challenges-that-will-satisfy-the-ca/49983):
>
> I…

---

<div class="post-metadata">

**Author:** ![mnordhoff](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mnordhoff/32/22583_2.png) [@mnordhoff](https://community.letsencrypt.org/u/mnordhoff)\
**Post date:** [March 20, 2018, 12:46am UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/4 "2018-03-20T00:46:55Z")

</div>

What OS are you on?

What version of Certbot are you using?

---

<div class="post-metadata">

**Author:** ![oscarencrypt](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oscarencrypt](https://community.letsencrypt.org/u/oscarencrypt)\
**Post date:** [March 20, 2018, 9:36pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/5 "2018-03-20T21:36:42Z")

</div>

Apache/2.4.18 (Ubuntu 16.04)

How to know the certbot version?  
Any command?

---

<div class="post-metadata">

**Author:** ![oscarencrypt](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oscarencrypt](https://community.letsencrypt.org/u/oscarencrypt)\
**Post date:** [March 20, 2018, 9:42pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/6 "2018-03-20T21:42:09Z")

</div>

Each user says one thing. I do not know what to choose. I need the exact command for apache.

---

<div class="post-metadata">

**Author:** ![oscarencrypt](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oscarencrypt](https://community.letsencrypt.org/u/oscarencrypt)\
**Post date:** [March 20, 2018, 10:08pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/7 "2018-03-20T22:08:07Z")

</div>

an effective response. This solved my problem. many thanks !!!  
thanks \_az

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [April 19, 2018, 10:08pm UTC](https://community.letsencrypt.org/t/sudo-certbot-does-not-work/57065/8 "2018-04-19T22:08:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
