# Monitored Inbox Settings --\>Test --\>Error communicating with the IMAP server: Certificate failure

**URL:** https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067
**Category:** Product Support
**Created:** [August 26, 2016, 3:58pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067 "2016-08-26T15:58:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![coh998](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@coh998](https://forum.mautic.org/u/coh998)
#### Post date: [August 26, 2016, 3:58pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067/1 "2016-08-26T15:58:32Z")

</div>

I’ve got a Mautic instance running on a shared host (Siteground) under a subdomain - [outreach.autismvillage.com](http://outreach.autismvillage.com).  
  
  
  
Main Domain - [autismvillage.com](http://autismvillage.com) - is registered and DNS is done at Network Solutions; an A record there points to the “outreach” subdomain on Siteground server.  
  
  
  
Mail service is done at Network Solutions where domain is registered.  
  
  
  
Domain [autismvillage.com](http://autismvillage.com) has SSL cert.  
  
  
  
When trying to setup Monitored Inbox settings in Mautic, the “Test Setting and Fetch Folders” button results in:

Quote:

“Error communicating with the IMAP server: Certificate failure for mail.autismvillage.com: Server name does not match certificate: /OU=Domain Control Validated/CN=\*.sgcpanel.com”

  
Can this be fixed? If so, how?  
  
Thanks!

---

<div class="post-metadata">

### Author: ![coh998](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@coh998](https://forum.mautic.org/u/coh998)
#### Post date: [August 26, 2016, 3:58pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067/2 "2016-08-26T15:58:32Z")

</div>

I’ve got a Mautic instance running on a shared host (Siteground) under a subdomain - [outreach.autismvillage.com](http://outreach.autismvillage.com).

Main Domain - [autismvillage.com](http://autismvillage.com) - is registered and DNS is done at Network Solutions; an A record there points to the “outreach” subdomain on Siteground server.

Mail service is done at Network Solutions where domain is registered.

Domain [autismvillage.com](http://autismvillage.com) has SSL cert.

When trying to setup Monitored Inbox settings in Mautic, the “Test Setting and Fetch Folders” button results in:

> [@](#):
>
> “Error communicating with the IMAP server: Certificate failure for [mail.autismvillage.com](http://mail.autismvillage.com): Server name does not match certificate: /OU=Domain Control Validated/CN=\*.sgcpanel.com”

Can this be fixed? If so, how?

Thanks!

---

<div class="post-metadata">

### Author: ![coh998](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@coh998](https://forum.mautic.org/u/coh998)
#### Post date: [August 26, 2016, 4:21pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067/3 "2016-08-26T16:21:26Z")

</div>

Forgot to mention that smtp is out of SendGrid…

---

<div class="post-metadata">

### Author: ![coh998](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@coh998](https://forum.mautic.org/u/coh998)
#### Post date: [August 27, 2016, 4:45pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067/4 "2016-08-27T16:45:09Z")

</div>

Thank you. I had tried that; I’d tried all the pull-down options before posting here.

But your answer got me to thinking, and I tried again with SSL no validate-cert, this time with username and password left blank.

That gave me a “Success!” message. Now to see how it’s actually working…

Thanks again.

---

<div class="post-metadata">

### Author: ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)
#### Post date: [August 28, 2016, 6:29pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-test-error-communicating-with-the-imap-server-certificate-failure/5067/5 "2016-08-28T18:29:38Z")

</div>

You need to use the details you have provided, so: [sgcpanel.com](http://sgcpanel.com).

I had the same issue with SiteGround once I changed them to the SG server it worked perfectly fine.

I hope this helps.  
Derek
