hi,
I am trying to create digital signature for pdf document by openssl commands
from php file.

I write these two commands first in php file
exec("openssl req -x509 -nodes -days 365 -subj
'/C=In/ST=Mumbai/L=Maharashtra/CN=www.kalpesh.com'  -newkey rsa:1024 -keyout
openssl_key.pem -out openssl_crt.pem");

exec("openssl pkcs12 -export -inkey openssl_key.pem -in openssl_crt.pem -out
openssl_key_crt.p12 -name openssl_key_crt");

exec("openssl pkcs12 -in openssl_key_crt.p12 -out openssl_key_crt_enc.pem");

I successfully created openssl_key.pem and openssl_crt.pem files
But openssl_key_crt.p12 and openssl_key_crt_enc.pem comes blank.

Is there something wrong i am doing?
How should i create digital signature using openssl on the fly for users in
my site.

Thanks.


-- 
View this message in context: 
http://old.nabble.com/I-m-trying-to-merge-key-and-certificate-using-pkcs12-tp30957028p30957028.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to