Re: Create client certificate with openssl
| From: | Manuel Lemos | Date: | Wed, 25 Nov 2009 23:03:34 +0000 |
| Subject: | Re: Create client certificate with openssl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300105@lists.php.net to get a copy of this message | ||
Hello,
on 11/25/2009 05:53 AM Tanveer Chowdhury said the following:
> Hi all,
>
> I have an apache server and for that I created CA as the signing authority
> using openssl.
>
> Now I created a php page which will generate client certificates with key
> and will sign by CA. Now the output is in .pem .
> Now how to convert it in .p12 for exporting it in client browser..
>
> Again, If using exec gives another problem which is it asks for export
> password so how to give this via php.
You may want to take a look at this class:
http://www.phpclasses.org/crypt_openssl
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/