# הגדרת cerbot עם app.yml?

**URL:** <https://meta.discourse.org/t/configure-cerbot-with-app-yml/213994>\
**Category:** Self-hosting\
**Created:** [6 בינואר,‏ 2022,‏ 12:15am UTC](https://meta.discourse.org/t/configure-cerbot-with-app-yml/213994 "2022-01-06T00:15:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![f1r4s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/f1r4s/32/245347_2.png) [@f1r4s](https://meta.discourse.org/u/f1r4s)\
**Post date:** [6 בינואר,‏ 2022,‏ 10:34am UTC](https://meta.discourse.org/t/configure-cerbot-with-app-yml/213994/3 "2022-01-06T10:34:57Z")

</div>

Hi Jay,

Correct, i’m working on this, but unfortunately i don’t have much experiance in programming or bash script to achive this issue… but i didn’t find any module with cerbot with let’s encrypts to do this.. only this line maybe we add our code there

```plaintext
          # Try to issue the cert again if something goes wrong
          issue_cert "4096" "--force"
        fi

        LE_WORKING_DIR="${LETSENCRYPT_DIR}" $$ENV_LETSENCRYPT_DIR/acme.sh \
          --installcert \
          -d $$ENV_DISCOURSE_HOSTNAME \
          --fullchainpath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.cer \
          --keypath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.key \
          --reloadcmd "sv reload nginx"

```

with

```plaintext

certbot certonly \
  --dns-cloudflare \
  --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini \
  -d example.com \
  -d www.example.com

```

I hope who have experiance in coding can help us to include this code with let’s encrypt certificate ?

---

_[View the full topic](https://meta.discourse.org/t/configure-cerbot-with-app-yml/213994)._
