build curl with custom certificate bundle
Closed this issue · 0 comments
ShahidOni commented
Urgent: I want to build libcurl with --with-ca-bundle option in build_Android.sh. Every time i pass a new cacert.pem downloaded from https://curl.haxx.se/docs/caextract.html from this site and build library, after putting that in android, curl response code is always 77 (CURLE_SSL_CACERT_BADFILE). What i am doing wrong. i am building curl with this :
./configure --host=arm-linux-androideabi --target=arm-linux-androideabi
--with-ssl=$SSLPATH
--enable-static
--disable-shared
--disable-verbose
--enable-threaded-resolver
--enable-libgcc
--enable-ipv6
--with-ca-bundle=cacert.pem
It builds fine. But can not establish ssl connection with https site.