unable to add yahoo/google mail accounts

since upgrading to El Capitan I'm unable to add any yahoo or google account ...


when trying to add an account (gmail or yahoo) into mail an error message pops up stating:


Connection Insecure

Failed to verify the server certificate. This could be because of your network configuration or your proxy settings.


User uploaded file


when trying to access the accounts via web browser all goes ok, so there’s no network/internet connection or proxy issues. In fact, I'm using no proxy whatsoever.


The error is the same if trying to add the accounts using mail or the internet accounts system preference ... I imagine is something related to OAuth since for any of these two providers that is the authentication method used to configure them


any help would be greatly appreciated


Rgds

MacBook (13-inch Aluminum Late 2008), OS X El Capitan (10.11)

Posted on Sep 30, 2015 2:48 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Jan 18, 2017 4:50 AM

Been battling with this for quite some time. Removing all certificates didi not help, neither did removing the entire keychain.


It was AdGuard, even though it wasn't showing as a blocked page or anything - disabling AdGuard allowed me to add the account and it still works after re enabling.

73 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Jan 18, 2017 4:50 AM in response to Adyis

Been battling with this for quite some time. Removing all certificates didi not help, neither did removing the entire keychain.


It was AdGuard, even though it wasn't showing as a blocked page or anything - disabling AdGuard allowed me to add the account and it still works after re enabling.

Reply

Oct 1, 2015 12:33 AM in response to oswjim

Found the fix for this.


there're two verisign certs with a red mark "This certificate was signed by an untrusted issuer" in the Login/Certificates container in the keychain. You need to delete them, once removed the Connection Insecure message is gone and will be able to add the accounts.

Reply

Oct 2, 2015 4:57 AM in response to oswjim

Hi


be sure to look for Verisign certificates as in the image below .. check all of them for having the green check mark -- the ones to delete show a red x stating "This certificate was signed by an untrusted issuer" don't recall exactly but think mines were still valid (not expired)


User uploaded file

Reply

Oct 2, 2015 2:37 PM in response to jhcook

I have the same problem trying to add a Yahoo account to mail. I've looked at all the Verisign certs and all have the green check mark and have expiration dates in the future. I'm new at working resolving issues with Apples OS (I have El Capitan installed via update from Yosemite), and don't know how to delete the ~/Library/Keychains/* you mentioned, nor how to restore it after. Can someone tell me how to resolve this in a way that won't have me destroying my OS installation?

Reply

Oct 2, 2015 11:34 PM in response to Kepar

Hi there. I should have spent a bit more time explaining that this is a certificate in keychain. However, you can go fishing and hopefully find the bad cert. But, this will take some time and/or a bit of luck. In my case, I removed all the bad certs that had expired or was revoked for whatever reason, and that did not work for me.


Since I have everything I care about in iCloud Keychain, I removed System Preferences > iCloud > Keychain, deleted ~/Library/Keychains/*, rebooted and then added my Google account accordingly. I then added System Preferences > iCloud > Keychain back.

Reply

Oct 4, 2015 8:18 AM in response to oswjim

I have a similar problem but it only applies to a google .edu account. My personal gmail account was added just fine. Overtime I try to add my .edu google account to internet accounts in system preferences or mail's preferences I receive the following error...


Authentication Failed

Failed to authenticate with Google, please try again later.


User uploaded file

This also freezes System Preferences requiring a force quit.


All in all El Capitan won't add my google account. Anyone know how to get this to work?

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

unable to add yahoo/google mail accounts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.