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)
Change History (5)
by , 8 years ago
Attachment: | android.cmd added |
---|
comment:1 by , 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")
comment:2 by , 8 years ago
Cc: | added |
---|
comment:3 by , 8 years ago
could you add the cacert you are using? this would help ppl with the same issue.
comment:4 by , 8 years ago
for ppl using rpm/yum, copy the cacerts from /@unixroot/etc/pki/java to your OPENJDK/lib/security directory.
script to download the google android sdk