I have exactly this problem:
Android SDK installation issue - Peer not authenticated
I am trying to install the Android SDK and I get the following error in the SDK Manager Logs -
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: peer not authenticated Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: peer not authenticated Done loading packages.
I'm not behind a proxy and all the responses I've found there, and in other similar questions, are:
enable the "Force https://... sources to be fetched using http://..." setting in the SDK Manager Tools > Options menu.
But I'm on a CentOS 6 installation without GUI (it's a continuous integration server).
How can I force or set this configuration when running from command line?
Edit: I've also checked that the files can be downloaded with wget:
wget https://dl.google.com/android/repository/repository-11.xml