Opened 8 years ago

Last modified 7 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)

Changed 8 years ago by jep

Attachment: android.cmd added

script to download the google android sdk

comment:1 Changed 8 years ago by jep

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

Version 0, edited 8 years ago by jep (next)

comment:2 Changed 8 years ago by dryeo

Cc: dryeo added

comment:3 Changed 8 years ago by Silvan Scherrer

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

comment:4 Changed 7 years ago by Silvan Scherrer

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.