Re: Verify x509 certificate

2008-08-03 Thread .:: Francesco la Torre ::.
PROTECTED] To: openssl-users@openssl.org Sent: Saturday, August 2, 2008 5:16:10 PM Subject: Re: Verify x509 certificate Solved ! I forgot to call SSLeay_add_all_algorithms(); ... a summer youthful folly :-) Flt Il giorno sab, 02/08/2008 alle 11.43 +0200, .:: Francesco la Torre ::. ha

Re: Verify x509 certificate

2008-08-02 Thread Kyle Hamilton
The verify(1ssl) man page has descriptions of these error codes. 7 is X509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure, which is described as: the signature of the certificate is invalid. I would presume that this is because the signature cannot be verified with the public key

Re: Verify x509 certificate

2008-08-02 Thread .:: Francesco la Torre ::.
On sab, 2008-08-02 at 02:04 -0700, Kyle Hamilton wrote: The verify(1ssl) man page has descriptions of these error codes. 7 is X509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure, which is described as: the signature of the certificate is invalid. I would presume that this is

Re: Verify x509 certificate

2008-08-02 Thread .:: Francesco la Torre ::.
Solved ! I forgot to call SSLeay_add_all_algorithms(); ... a summer youthful folly :-) Flt Il giorno sab, 02/08/2008 alle 11.43 +0200, .:: Francesco la Torre ::. ha scritto: On sab, 2008-08-02 at 02:04 -0700, Kyle Hamilton wrote: The verify(1ssl) man page has descriptions of these error

Re: Verify x509 certificate

2008-08-02 Thread Sendroiu Eugen
, August 2, 2008 5:16:10 PM Subject: Re: Verify x509 certificate Solved ! I forgot to call SSLeay_add_all_algorithms(); ... a summer youthful folly :-) Flt Il giorno sab, 02/08/2008 alle 11.43 +0200, .:: Francesco la Torre ::. ha scritto: On sab, 2008-08-02 at 02:04 -0700, Kyle Hamilton wrote

Re: Verify x509 certificate

2008-08-01 Thread .:: Francesco la Torre ::.
Any help from someone ? :-) Flt Il giorno mer, 30/07/2008 alle 23.57 +0200, Francesco la Torre ha scritto: Dear all, I'm new in openssl api and I'm trying to write e simple application to verify an x509 certificate but I'm facing with some strange problem. Here there is a snapshot of my

Re: Verify x509 certificate

2008-08-01 Thread Sendroiu Eugen
, August 1, 2008 8:02:44 PM Subject: Re: Verify x509 certificate Any help from someone ? :-) Flt Il giorno mer, 30/07/2008 alle 23.57 +0200, Francesco la Torre ha scritto: Dear all, I'm new in openssl api and I'm trying to write e simple application to verify an x509 certificate but I'm facing

Re: Verify x509 certificate

2008-08-01 Thread .:: Francesco la Torre ::.
] To: openssl-users@openssl.org Sent: Friday, August 1, 2008 8:02:44 PM Subject: Re: Verify x509 certificate Any help from someone ? :-) Flt Il giorno mer, 30/07/2008 alle 23.57 +0200, Francesco la Torre ha scritto: Dear all, I'm new in openssl api and I'm trying to write e simple

Re: Verify x509 certificate

2008-08-01 Thread .:: Francesco la Torre ::.
Sent: Friday, August 1, 2008 8:02:44 PM Subject: Re: Verify x509 certificate Any help from someone ? :-) Flt Il giorno mer, 30/07/2008 alle 23.57 +0200, Francesco la Torre ha scritto: Dear all, I'm new in openssl api and I'm trying to write e simple application

Re: Verify x509 certificate

2008-08-01 Thread .:: Francesco la Torre ::.
On sab, 2008-08-02 at 00:21 +0200, .:: Francesco la Torre ::. wrote: self reply :-) I've added a callback function like this static int cb(int ok, X509_STORE_CTX *ctx){ char buf[256]; X509_NAME_oneline( X509_get_subject_name(ctx-current_cert),buf,256);