# Script Error Enabling Let's Encrypt on new Discourse instance

**URL:** <https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791>\
**Category:** Self-hosting\
**Created:** [December 20, 2018, 8:54pm UTC](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791 "2018-12-20T20:54:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![L30110](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@L30110](https://meta.discourse.org/u/L30110)\
**Post date:** [December 20, 2018, 8:54pm UTC](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791/1 "2018-12-20T20:54:17Z")

</div>

Plowing through a lot of stuff today! Trying to enable LE via the automated system in Discourse (I’ve done many LE setups on Apache sites, I’d prefer to keep this forum as stock as possible in this instance). The setup script fails after a few encouraging messages, apparently because I have SMTP USER NAME and SMTP PASSWORD commented out since SMTP doesn’t need them within my local Net – that is, Discourse doesn’t use them to feed email to my local relay site.

The setup script says:

```
Let's Encrypt will be enabled for xxx@xxx.com

```

then it says that the two ssl templates are enabled (ssl and lets encrypt),  
then:

```
Unfortunately there was an error changing
-d This may happen if you have made unexpected changes.

```

And of course, https: isn’t actually enabled. Not sure how to clean this up and proceed. Thanks.

---

_[View the full topic](https://meta.discourse.org/t/script-error-enabling-lets-encrypt-on-new-discourse-instance/104791)._
