[openssl-users] Read cer file failed

Jerry OELoo oyljerry at gmail.com
Wed Jan 21 02:49:20 UTC 2015


Thanks Michael's information.
I am on Ubuntu OS, And I found that If I fopen file with rb, it will work fine.

On Tue, Jan 20, 2015 at 9:57 PM, Michael Wojcik
<Michael.Wojcik at microfocus.com> wrote:
>> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf
>> Of Jerry OELoo
>> Sent: Tuesday, January 20, 2015 00:34
>> To: openssl-users at openssl.org
>> Subject: [openssl-users] Read cer file failed
>>
>> I am reading cer file into X509 object,
>> http://SVRSecure-G3-aia.verisign.com/SVRSecureG3.cer
>>
>> cert = d2i_X509_fp(fp, NULL);
>> it will return fail, as below
>
> What's the platform? What are the parameters to the fopen that you used to get fp?
>
> --
> Michael Wojcik
> Technology Specialist, Micro Focus
>
>
>
> This message has been scanned for malware by Websense. www.websense.com
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



-- 
Rejoice,I Desire!


More information about the openssl-users mailing list