Opened 13 months ago

Last modified 10 months 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 13 months ago.
script to download the google android sdk

Download all attachments as: .zip

Change History (5)

Changed 13 months ago by jep

script to download the google android sdk

comment:1 Changed 13 months ago by jep

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 13 months ago by jep (previous) (diff)

comment:2 Changed 13 months ago by dryeo

  • Cc dryeo added

comment:3 Changed 13 months ago by diver

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

comment:4 Changed 10 months ago by diver

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.