# Create LE certificate

**URL:** <https://community.letsencrypt.org/t/create-le-certificate/50845>\
**Category:** Help\
**Created:** [January 19, 2018, 9:54am UTC](https://community.letsencrypt.org/t/create-le-certificate/50845 "2018-01-19T09:54:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![guidovanharten](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@guidovanharten](https://community.letsencrypt.org/u/guidovanharten)\
**Post date:** [January 19, 2018, 9:54am UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/1 "2018-01-19T09:54:23Z")

</div>

In the past I created an LE certificate by using the command:  
letsencrypt --apache --agree-tos --email [my-email@domain.com](mailto:my-email@domain.com) -d [my.domain.com](http://my.domain.com)  
and set the option to use Secret

Now I get an error:  
Client does not support any combination of challenges that will satisfy the CA.

I started on my empty VPS using commands as:  
apt-get install letsencrypt python-letsencrypt-apache

Can you tell me what I am doing wrong?

Regards,  
Guido van Harten

---

<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:** [January 19, 2018, 9:58am UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/2 "2018-01-19T09:58:29Z")

</div>

Please review [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)

A fix has been shipped, but it may not have arrived in your operating system’s repositories yet.

In such a case, you may be able to use certbot-auto instead, which will give you the latest version, or use one of the workarounds as detailed in the above thread.

---

<div class="post-metadata">

**Author:** ![guidovanharten](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@guidovanharten](https://community.letsencrypt.org/u/guidovanharten)\
**Post date:** [January 19, 2018, 10:45am UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/3 "2018-01-19T10:45:13Z")

</div>

Thanks for your reply.  
I tried using certbot-auto. Maybe I am doing something incorrect… It doesn’t help me ☹

You wrote “A fix is shipped”… Can I force that fix to arrive it in my OS’s repository?

Regards,  
Guido

---

<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:** [January 19, 2018, 10:48am UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/4 "2018-01-19T10:48:22Z")

</div>

Can you show us what happened when you tried to use certbot-auto?

---

<div class="post-metadata">

**Author:** ![guidovanharten](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@guidovanharten](https://community.letsencrypt.org/u/guidovanharten)\
**Post date:** [January 19, 2018, 5:22pm UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/5 "2018-01-19T17:22:32Z")

</div>

In the meanwhile I reconfigured my VPS, so I can not show you what happened in the past hours ☹  
After reconfiguring the VPS I entered the following commands:  
apt-get -y update && apt-get -y upgrade  
add-apt-repository ppa:certbot/certbot  
apt-get install -y apache2 libapache2-mod-php7.0 php7.0-gd php7.0-json php7.0-mysql php7.0-curl php7.0-mbstring php7.0-intl php7.0-mcrypt php-imagick php7.0-xml php7.0-zip mysql-server php-mysql letsencrypt python-letsencrypt-apache redis-server php-redis python-certbot-apache

The system responds:  
Some packages could not be installed. This may mean that you have  
requested an impossible situation or if you are using the unstable  
distribution that some required packages have not yet been created  
or been moved out of Incoming.  
The following information may help to resolve the situation:

The following packages have unmet dependencies:  
python-certbot-apache : Breaks: python-letsencrypt-apache but 0.4.1-1 is to be installed  
python-letsencrypt-apache : Depends: python-letsencrypt but it is not going to be installed  
E: Unable to correct problems, you have held broken packages.

What am I doing wrong or what can I do to solve these problems?

Regards,  
Guido

---

<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:** [January 19, 2018, 9:04pm UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/6 "2018-01-19T21:04:52Z")

</div>

Don’t try to install both the `letsencrypt` and `certbot` packages. They are direct substitutes for each other.

If you are using the PPA, then it’s just `apt-get update && apt-get install python-certbot-apache` and do not install `letsencrypt` or `python-letsencrypt-*`.

---

<div class="post-metadata">

**Author:** ![guidovanharten](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@guidovanharten](https://community.letsencrypt.org/u/guidovanharten)\
**Post date:** [January 20, 2018, 4:32pm UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/7 "2018-01-20T16:32:56Z")

</div>

I tried it again, but still I got errors.  
After installing the needed packages and installing Nextcloud I tried to create the LE certificate.using the command  
certbot --authenticator standalone --installer apache2 -d [my.domain.com](http://my.domain.com) --pre-hook “service apache2 stop” --post-hook "service apache2 start"  
But I get the error:  
Saving debug log to /var/log/letsencrypt/letsencrypt.log  
The requested apache2 plugin does not appear to be installed  
Which package do I have to install? I think python-letsencrypt-apache, but you wrote that I should not try both the letsencrypt an certbot packages.

Can you help me?

Regards,  
Guido

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [January 20, 2018, 6:46pm UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/8 "2018-01-20T18:46:02Z")

</div>

> [@guidovanharten](#):
>
> certbot --authenticator standalone --installer apache2 -d [my.domain.com](http://my.domain.com) --pre-hook “service apache2 stop” --post-hook "service apache2 start"

The `--installer` name is apache instead of apache2.

---

<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:** [February 19, 2018, 6:46pm UTC](https://community.letsencrypt.org/t/create-le-certificate/50845/9 "2018-02-19T18:46:11Z")

</div>

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