# How to use only one .conf-file with Let's Encrypt (LE)

**URL:** <https://community.letsencrypt.org/t/how-to-use-only-one-conf-file-with-lets-encrypt-le/10312>\
**Category:** Uncategorized\
**Created:** [February 5, 2016, 5:05pm UTC](https://community.letsencrypt.org/t/how-to-use-only-one-conf-file-with-lets-encrypt-le/10312 "2016-02-05T17:05:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![punkrock](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/punkrock/32/4746_2.png) [@punkrock](https://community.letsencrypt.org/u/punkrock)\
**Post date:** [February 5, 2016, 5:05pm UTC](https://community.letsencrypt.org/t/how-to-use-only-one-conf-file-with-lets-encrypt-le/10312/1 "2016-02-05T17:05:35Z")

</div>

LE created this file: **mydomain.tld-le-ssl.conf**

How can I add the content to mydomain.tld.conf which is already in use, without getting in trouble as LE might strictly need this **-le-ssl.conf** -file?

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [February 6, 2016, 9:54am UTC](https://community.letsencrypt.org/t/how-to-use-only-one-conf-file-with-lets-encrypt-le/10312/2 "2016-02-06T09:54:18Z")

</div>

I just tested the following: I made a vhost.conf file with two `<VirtualHost>` containers in it: one for non-HTTPS (`*:80`) and one for the HTTPS (`*:443`). Then, I filled the HTTPS container with a self-signed certificate, so Apache wouldn’t complain about stuff… ~~I don’t really know if this is necessary, because I didn’t test this (yet 😛).~~ You have to add some sort of SSLCertificateFile (and SSLCertificateKeyFile), because otherwise the LE client can’t _replace_ the values in it. If it can’t find those directives, it will give you the certificate, but without the proper change in the conf-file.

Only thing was:

```
 - We were unable to set up enhancement redirect for your server,
   however, we successfully installed your certificate.

```

When I choose `2: Secure - Make all requests redirect to secure HTTPS access`… But it _did_ install the LE certificate 🙂 And without adding a new conf-file…
