Android : Android Source Download : Curl SSL certificate verification

on Thursday, July 10, 2014


I am downloading the android source from behind the proxy in a corporate environment. Due to heavy loading I am not able to connect to the source.android.com site and gets 407 failure most of the times. Today morning i was able to connect to it . Besides exporting the proxy i edited the ~/bin/repo script https protocol to http as well.(https did not work) Now I can see jargon of download messages coming on screen showing android downloading.



But


I am getting curl certificate error as below :



curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option


Shall I keep the download ON or terminate it (Ctrl +C ) and then restart the process using -k option in repo init and repo sync (i don't want to use that : as it is already 30 minutes past + the time stamp of this post since the download has started)


Is it just a certificate verification issue or I may face build/compile/make issue as well while building android . If it is a certificate verification issue only which may not hamper my build process I can simply ignore it .If not ,is there a way to do it after build is complete. I hope i made my point clear here !


0 comments:

Post a Comment