pkcs7 file in crypto/pkcs7/p7 and crypto/pkcs7/t

2003-11-04 Thread Jia L Wu
Hi, Can anyone tell me what file formate are the files in crypto/pkcs7/p7/ and crypto/pkcs7/t/ driectories? For the files in p7 directory, I can not load them using "openssl pkcs7" command either in der or pem form. For the most files in t directory, "openssl pkcs7 -text -noout" returns nothing.

verify the digital signature

2003-11-12 Thread Jia L Wu
Hi, I used the following command to creat a signature. "openssl dgst -sign -out " However why the signature can not be verified using corresponding self-signed certificate. "openssl dgst -signature -verify " What's wrong? Thanks.

Re: verify the digital signature

2003-11-13 Thread Jia L Wu
Thanks, Nils. But which openssl command can I use to generate a public key file or extract public key from certificate file? On Thu, 13 Nov 2003, Nils Larsch wrote: > Jia L Wu wrote: > > Hi, > > I used the following command to creat a signature. > > > >

intermediate CA

2003-12-02 Thread Jia L Wu
Hello, My question is: I created a certificate chain: usr.cert->CA_1.cert->CA.cert. where CA.cert is self-signed certificate and is imported as trusted certificate. Signing CA_1's request with CA's private key and certificate generates CA_1.cert. Signing usr's request with CA_1's private key and CA