# Cant setting SLL (Let's Encrypt) for Discourse

**URL:** https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619
**Category:** Support
**Created:** [23 Agosto , 2017 14:05 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619 "2017-08-23T14:05:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Hoang\_Nam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoang_nam/32/77355_2.png) [@Hoang\_Nam](https://meta.discourse.org/u/Hoang_Nam)
#### Post date: [23 Agosto , 2017 14:05 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/1 "2017-08-23T14:05:12Z")

</div>

Cant setting SLL (Let’s Encrypt) for Discourse setting SSL on [Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709)

But It error:

```
FAILED
--------------------
    Pups::ExecError: cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade failed with return #<Process::Status: pid 3354 exit 1>
    Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
    exec failed with the params {"cmd"=>["cd /root && git clone https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh && git reset --hard e5244cf3c04a5cad274d5a0be31ce80c336be388", "touch /var/spool/cron/crontabs/root", "install -d -m 0755 -g root -o root $LETSENCRYPT_DIR", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --install --log \"${LETSENCRYPT_DIR}/acme.sh.log\"", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --upgrade --auto-upgrade"]}
    ffd7032014ec2a1936b71deb1971516af9bf8a3951935548df05a13158eb2369

```

Please help me.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [23 Agosto , 2017 14:15 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/2 "2017-08-23T14:15:32Z")

</div>

Please say more about what you did. Has it ever worked? How did you enable it?

---

<div class="post-metadata">

### Author: ![Hoang\_Nam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoang_nam/32/77355_2.png) [@Hoang\_Nam](https://meta.discourse.org/u/Hoang_Nam)
#### Post date: [23 Agosto , 2017 14:20 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/3 "2017-08-23T14:20:47Z")

</div>

Oh!. i fixed…

Before:  
I config like [Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709) and run  
`./laucher rebulid app` but error.

Affter:  
I run  
`cd /root/acme.sh`  
git clone [GitHub - acmesh-official/acme.sh: A pure Unix shell script ACME client for SSL / TLS certificate automation · GitHub](https://github.com/Neilpang/acme.sh.git)  
`./laucher rebulid app`  
It is successfully.

So happy!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23 Agosto , 2017 19:31 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/4 "2017-08-23T19:31:05Z")

</div>

Hmm @tgxworld is this related to the other problem report with this today?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [23 Agosto , 2017 22:00 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/5 "2017-08-23T22:00:20Z")

</div>

This topic was automatically closed after 5 hours. New replies are no longer allowed.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [24 Agosto , 2017 01:05 UTC](https://meta.discourse.org/t/cant-setting-sll-lets-encrypt-for-discourse/68619/6 "2017-08-24T01:05:27Z")

</div>

Yup I bumped the version of `acme.sh` again.

[https://github.com/discourse/discourse\_docker/commit/378578c31526fd9f7d149a61e213f76c8093e2dd](https://github.com/discourse/discourse_docker/commit/378578c31526fd9f7d149a61e213f76c8093e2dd)
