Answers.Body: <p>This sounds like it's the same problem <a href="https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem/10966#10966">described here</a>.</p>
  
  <p>While the solutions there suggest hacks to the code, most likely you're either a) connecting to a mail server that has a self-signed certificate, or b) your CiviCRM is installed on a server with an outdated list of CAs.  Fixing the root problem is preferable.  <a href="https://letsencrypt.org" rel="nofollow noreferrer">Let's Encrypt</a> issues free SSL certificates in case your problem is the former one.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-17T23:20:18.423Z
Answers.Text: Thanks for the tips. I tried the fix in the thread you referenced with no luck. So I reverted those changes then took the coward's way out and rolled PHP back to 5.5.38 which resolved the problem. I'll explore the rest of your advice in the meantime.
Answers.UserDisplayName: Eric H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-18T19:08:47.483Z
Answers.Text: @EricH Do you have root access on the server your CiviCRM is hosted on?  If not, talk to your webhost!  If so - are you running an outdated version of your OS?  Also, if you're running FreeBSD, I think the CAs they ship with are out of date.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-19T20:52:52.137Z
Answers.Text: I have root access. It's running CentOS 6.8.
Answers.UserDisplayName: Eric H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-17T14:21:20.003Z
Answers.LastActivityDate: 2016-08-17T14:21:20.003Z
Answers.LastEditDate: 2017-04-13T12:53:13.207Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>CiviMail throws the error <code>Mailing_send_test : STARTTLS failed</code> when doing a test email. Sending results in bounces. I have a handful of CiviCRM installations running on the same server and only 4.7 installs seem affected.</p>
  
  <p>Version 4.6.9 no error. 
  Version 4.7.3+ error as described.</p>
  
  <p>Does anyone know what would have caused this? </p>
  
  <p>(I did recently add mysqli per the recent blog post, and I went from PHP 5.5.38 to 5.6.24 in the process. But perhaps that's unrelated.)</p>
  
  <p>Edit: I use CiviSMTP.</p>
  
Tags: <civimail><4.7>
Title: STARTTLS failed in version 4.7
ThreadText: # STARTTLS failed in version 4.7
  
  (Asked by: username_0 on 2016-08-16)
  
  CiviMail throws the error `Mailing_send_test : STARTTLS failed` when doing a test email. Sending results in bounces. I have a handful of CiviCRM installations running on the same server and only 4.7 installs seem affected.
  
  Version 4.6.9 no error.
  Version 4.7.3+ error as described.
  
  Does anyone know what would have caused this?
  
  (I did recently add mysqli per the recent blog post, and I went from PHP 5.5.38 to 5.6.24 in the process. But perhaps that's unrelated.)
  
  Edit: I use CiviSMTP.
  
  **Tags:** civimail, 4.7
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-08-17. Score: 1
  
  This sounds like it's the same problem [described here](https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem/10966#10966).
  
  While the solutions there suggest hacks to the code, most likely you're either a) connecting to a mail server that has a self-signed certificate, or b) your CiviCRM is installed on a server with an outdated list of CAs. Fixing the root problem is preferable. [Let's Encrypt](https://letsencrypt.org) issues free SSL certificates in case your problem is the former one.
  
  > **Comments:**
  > **username_0**: Thanks for the tips. I tried the fix in the thread you referenced with no luck. So I reverted those changes then took the coward's way out and rolled PHP back to 5.5.38 which resolved the problem. I'll explore the rest of your advice in the meantime.  
  > **username_1**: @username_0 Do you have root access on the server your CiviCRM is hosted on?  If not, talk to your webhost!  If so - are you running an outdated version of your OS?  Also, if you're running FreeBSD, I think the CAs they ship with are out of date.  
  > **username_0**: I have root access. It's running CentOS 6.8.  
  
  ---
  
  