# SendGrid needs root cert installed

**URL:** <https://meta.discourse.org/t/sendgrid-needs-root-cert-installed/38022>\
**Category:** Self-hosting\
**Created:** [January 15, 2016, 9:18pm UTC](https://meta.discourse.org/t/sendgrid-needs-root-cert-installed/38022 "2016-01-15T21:18:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rockylhotka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rockylhotka/32/122009_2.png) [@rockylhotka](https://meta.discourse.org/u/rockylhotka)\
**Post date:** [January 15, 2016, 9:18pm UTC](https://meta.discourse.org/t/sendgrid-needs-root-cert-installed/38022/1 "2016-01-15T21:18:59Z")

</div>

I am trying to set up my first discourse server, using docker and hosted in azure.

I have it running, but can’t get email to send from discourse. Looking at the `production.log` file in the container it appears that the problem is a lack of root cert packages in the Linux machine

```plaintext
Sent mail to someone@example.com (143.7ms)
Job exception: hostname "smtp.sendgrid.com" does not match the server certificate

```

Googling around seems to indicate the problem is that I need to install the Godaddy root cert in the container.

Does that seem correct? Why wouldn’t the standard root certs already be available?

---

_[View the full topic](https://meta.discourse.org/t/sendgrid-needs-root-cert-installed/38022)._
