PKCS7 verification problems

2002-11-27 Thread rtm
Hi, Here I got a problem. I use Netscape signtool 1.3 for AIX43 to sign a jar file, and so I want to verify the jar with my program, with OpenSSL libraries used. My problem is: if I give no flag in the PKCS7_verify, I got "error:21075075:PKCS7 routines:PKCS7_verify:certificate verify error". If I

Help on openssl on WIN32 platform.

2002-05-17 Thread rtm
I use windows 2000. and run a code, when execute the following line, I got a "Unhandled exception in test.exe(NTDLL.DLL); 0x05: access violation". WHY???     p7 = PEM_read_PKCS7(fp, NULL, NULL, NULL);   The same code runs OK, on linux. Help me, please!!! rtmSincerely YoursPeirong FuTel: 86-

help on x509.

2002-05-10 Thread rtm
hi, all: Does a certificate contain all the certificates on the certificate path? For example, a CA certificate c1 signs a certificate c2, c2 signs c3, c3 signs c4, and c4 signs my certificate c5. Does c5 contains all the information of certificates c1,c2, c3, c4?  If so, does it mean that I can v

help on openssl usage

2002-05-10 Thread rtm
Hi, all: I have got a Certificate from Third Party Trusted CA. Can I use openssl to sign my own certificate, that is, to create my own certificate?  I want to be a next level CA, can I? Thank you.   rtmDo You Yahoo!? µ½ÑÅ»¢µ÷²éÖÐÐÄ·¢±íÄúµÄÒâ¼û¡£

help on certificate verify

2002-05-10 Thread rtm
hi, help me, please: I want my certificate verified. I add revoked list in x509 store. I hope to verify the certificate already in the CRL, but I got ok. WHY? And How to verify a revoked certificate?   rtmDo You Yahoo!? µ½ÑÅ»¢µ÷²éÖÐÐÄ·¢±íÄúµÄÒâ¼û¡£