Opened 8 years ago

Last modified 8 years ago

#241 new defect

"cacert" is empty

Reported by: jep Owned by:
Priority: major Milestone: Enhanced
Component: general Version: 1.6.0 Build 27 GA5
Severity: medium Keywords: https android sdk
Cc: dryeo

Description

It prevent secure downloads from trusted sources over https.

I've just copied cacert and some other files from a current Windows installation and now android sdk can download files to my OS/2-eCS system that was impossible before. :-)

Output from script:

SDK Manager repository: manifest cache cleared.
Refresh Sources:

Fetching https://dl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl.google.com/android/repository/addons_list-2.xml

, reason: peer not authenticated

Fetched Add-ons List successfully
Refresh Sources
Fetching URL: https://dl.google.com/android/repository/repository-11.xml
Failed to fetch URL https://dl.google.com/android/repository/repository-11.xml

, reason: SSLPeerUnverified peer not authenticated

Attachments (1)

android.cmd (4.8 KB ) - added by jep 8 years ago.
script to download the google android sdk

Download all attachments as: .zip

Change History (5)

by jep, 8 years ago

Attachment: android.cmd added

script to download the google android sdk

comment:1 by jep, 8 years ago

Place the script in the tools folder and run it with:
"android - update --no-ui" (without the quotes and note the space between the - and "update")

Last edited 8 years ago by jep (previous) (diff)

comment:2 by dryeo, 8 years ago

Cc: dryeo added

comment:3 by Silvan Scherrer, 8 years ago

could you add the cacert you are using? this would help ppl with the same issue.

comment:4 by Silvan Scherrer, 8 years ago

for ppl using rpm/yum, copy the cacerts from /@unixroot/etc/pki/java to your OPENJDK/lib/security directory.

Note: See TracTickets for help on using tickets.