cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl https problem on an embedded system

From: Sid Chang <sid_at_adth.com>
Date: Fri, 13 Oct 2006 13:30:23 -0400

>> I installed curl+ssl on two machines in a similar manner.
>>
>> On the development pc (i386-redhat-linux), curl https works fine.
>> [see clip#1]
>>
>> But, on the embedded system board (mipsel-uclinux), curl https fails to
>> verify the server cert. [see clip#2]
>> The way curl is currently implemented on the board is by NFS mounting
>> dev pc's directory (/mnt/curl) containing cross-compiled curl files.
>> e.g. # mount -o nolock 192.168.1.23:/mnt /mnt
>>
>> I have tried every trick in the book and still can't get https to work
>> on my embedded system (I can probably live with -k, but...).
>> Is it NFS mount? or something else?
>
>That sounds to me like an OpenSSL portability problem of some sort. Do the
>openssl command-line tools work to verify the key on the MIPS system?

The cross-compiled OpenSSL stays on the pc.
Only the cross-compiled curl --with-ssl is mounted onto the target board.
(I assume all necessary OpenSSL files were included in the curl lib during
build)
Will such configuration cause dependency issue? - needed OpenSSL file not
found?

Sid
Received on 2006-10-13