cURL / Mailing Lists / curl-library / Single Mail

curl-library

ca-certificate.crt issue with certain https server.

From: Raghavendra Prasad Bilamkar <Raghavendra.Bilamkar_at_tridentmicro.com>
Date: Wed, 11 Aug 2010 02:44:55 +0200

Hi All,

I have a very strange problem, I have developed a application which would playback the contents from the https server.
In this case, when I play the content from Server A it leads in below crash, but if I a play from Server B it plays properly. Both Server A and Server B are HTTPS servers.

/usr/lib/libcurl.so.4(OBJ_bsearch_ex_+0x80)[0x2afb3b44]
/usr/lib/libcurl.so.4[0x2afda22c]
/usr/lib/libcurl.so.4(sk_find+0x2c)[0x2afda2d4]
/usr/lib/libcurl.so.4(X509_OBJECT_retrieve_match+0x44)[0x2b00c5a0]
/usr/lib/libcurl.so.4(X509_STORE_add_cert+0xf4)[0x2b00d7e4]
/usr/lib/libcurl.so.4(X509_load_cert_crl_file+0x160)[0x2b010880]
/usr/lib/libcurl.so.4[0x2b010a2c]
/usr/lib/libcurl.so.4(X509_LOOKUP_ctrl+0x40)[0x2b00c1e0]
/usr/lib/libcurl.so.4(X509_STORE_load_locations+0x84)[0x2b004c74]
/usr/lib/libcurl.so.4(SSL_CTX_load_verify_locations+0x2c)[0x2af9e414]
/usr/lib/libcurl.so.4[0x2af60d14]
/usr/lib/libcurl.so.4[0x2af61d14]
/usr/lib/libcurl.so.4(Curl_ssl_connect_nonblocking+0x4c)[0x2af787fc]
/usr/lib/libcurl.so.4[0x2af47724]
/usr/lib/libcurl.so.4(Curl_protocol_connect+0x100)[0x2af55b1c]
/usr/lib/libcurl.so.4[0x2af71a18]
/usr/lib/libcurl.so.4(curl_multi_perform+0x110)[0x2af72380]

If I delete /etc/ssl/certs/ca-certificate.crt from the archive, then the application would play from the Server A.
I don't understand why deleting ca certificates from /etc/ssl/certs/ca-certificate.crt would playback the file.

Any hints on this issue is very appreciated.

Curl Version Used: 7.21.0
SSL Version: 1.0.0

Regards
Raghu

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-11