cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Questions on SSL Certificates

From: Michael Schlenker <msc_at_contact.de>
Date: Wed, 10 Jun 2015 15:24:50 +0200

Hi,

> I am using libcurl in an application that I cross-compile to run on a
> Raspberry Pi. I've built libcurl with openssl.

This is probably the issue. OPENSSL has a compile time default location
for its trusted certificates, if you cross-compiled a staticly linked
openssl into your libcurl, the default is probably wrong.

You can set an environment variable to fix the default location usually,
or you can use libcurls configuration to fix it, but you do not want that.

So, your best choice might be to use a good default location when you
cross-build openssl (e.g. the expected dir on your raspbian, often
/etc/ssl or similar directories, varies by Linux distro).

Michael

-- 
Michael Schlenker
Senior Software Engineer
CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Stra├če 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
E-Mail: michael.schlenker_at_contact-software.com
http://www.contact-software.com/
Registered office: Bremen, Germany
Managing directors: Karl Heinz Zachries, Ralf Holtgrefe
Court of register: Amtsgericht Bremen HRB 1321
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-06-10