# Generating Let's encrypt certificates on staging fails

**URL:** https://discourse.roots.io/t/generating-lets-encrypt-certificates-on-staging-fails/16684
**Category:** trellis
**Tags:** letsencrypt
**Created:** 2019-09-25T18:24:28Z
**Posts:** 7
**Showing post:** 4 of 7

## Post 4 by @TangRufus — 2019-09-27T14:32:01Z

I think this line added the default site - [https://github.com/roots/trellis/blob/b7ecfeb8590a46283f231e8606bf2e05ea20c3f6/roles/wordpress-setup/tasks/self-signed-certificate.yml#L21](https://github.com/roots/trellis/blob/b7ecfeb8590a46283f231e8606bf2e05ea20c3f6/roles/wordpress-setup/tasks/self-signed-certificate.yml#L21)

[Self-signed certificates not being generated in development](https://discourse.roots.io/t/self-signed-certificates-not-being-generated-in-development/16695) sees the syntax error as well.

Probably coming from [https://github.com/roots/trellis/blob/b7ecfeb8590a46283f231e8606bf2e05ea20c3f6/roles/wordpress-setup/tasks/self-signed-certificate.yml#L3-L16](https://github.com/roots/trellis/blob/b7ecfeb8590a46283f231e8606bf2e05ea20c3f6/roles/wordpress-setup/tasks/self-signed-certificate.yml#L3-L16)

---

_[View the full topic](https://discourse.roots.io/t/generating-lets-encrypt-certificates-on-staging-fails/16684)._
