curl-library
Re: curl-with openssl fails on the target
Date: Wed, 24 Jul 2013 12:50:53 +0200
On 24-07-13 11:11, Indtiny s wrote:
> Hi,
>
> I have added AES_CCM cipher suite support to the openssl and tested with
> curl client with Nginx web server .
> It works well when I tested on the PC , then I cross compiled openssl and
> curl for ARM and tried to run curl client application from the target , but
> I get the below error .
>
> **Peer certificate cannot be authenticated with given CA certificates**
> ..
> I am using the same certificates which I used on the PC and I have given
> the proper path in cross compiled application ..
>
> Now my my set-up is :
> Running web server(nginx included with openssl on ubuntu pc) and curl(https
> with openssl ) on my arm target board .
>
> I need some help to figure out the exact problem , ?.
>
> Rgds
> Indra
The error hints that the CA certificate could not be found to verify the
certificate of the other peer. Perhaps they are missing, the hash
filenames in the CA directory doesn't match the switch over between
0.9.8 and the 1.x.x version., or something went wrong providing the CA
file explicitly.
Could you provide some more information? Like which settings, OpenSSL
version and more debug output?
Oscar
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature