How to create CA certificate with PHP

How to create CA certificate with PHP

am 10.11.2009 23:28:03 von Tanveer Chowdhury

--0016e6d99ed5ce422804780bd2fe
Content-Type: text/plain; charset=ISO-8859-1

Hello all,

Using openssl, I can create CA certificate by using the linux command line.

But this thing I want to do using PHP that is I want to add some information
in the openldap regarding a user and also would like to insert his public
key certificate along with the other information.

Can you please suggest any link or documentation on this topic. For your
information I can insert information like user,email,phone,email in openldap
but haven't tried to insert the certificate in openldap yet. The issue is, I
want to make the whole process automated like all user information user will
input in a form and upon clicking submit button all those information along
with his certificate which will be generated then and there will be inserted
in openldap.

Thanks in advance.

--0016e6d99ed5ce422804780bd2fe--

Re: How to create CA certificate with PHP

am 12.11.2009 05:47:16 von Manuel Lemos

Hello,

on 11/10/2009 08:28 PM Tanveer Chowdhury said the following:
> Hello all,
>
> Using openssl, I can create CA certificate by using the linux command line.
>
> But this thing I want to do using PHP that is I want to add some information
> in the openldap regarding a user and also would like to insert his public
> key certificate along with the other information.
>
> Can you please suggest any link or documentation on this topic. For your
> information I can insert information like user,email,phone,email in openldap
> but haven't tried to insert the certificate in openldap yet. The issue is, I
> want to make the whole process automated like all user information user will
> input in a form and upon clicking submit button all those information along
> with his certificate which will be generated then and there will be inserted
> in openldap.

You may want to try this PHP class exactly for that purpose:

http://www.phpclasses.local/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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to create CA certificate with PHP

am 12.11.2009 18:03:30 von Tanveer Chowdhury

thank you. I will have a look at it and will come up if any question.

On Wed, Nov 11, 2009 at 11:47 PM, Manuel Lemos wrote:
> Hello,
>
> on 11/10/2009 08:28 PM Tanveer Chowdhury said the following:
>> Hello all,
>>
>> Using openssl, I can create CA certificate by using the linux command line.
>>
>> But this thing I want to do using PHP that is I want to add some information
>> in the openldap regarding a user and also would like to insert his public
>> key certificate along with the other information.
>>
>> Can you please suggest any link or documentation on this topic. For your
>> information I can insert information like user,email,phone,email in openldap
>> but haven't tried to insert the certificate in openldap yet. The issue is, I
>> want to make the whole process automated like all user information user will
>> input in a form and upon clicking submit button all those information along
>> with his certificate which will be generated then and there will be inserted
>> in openldap.
>
> You may want to try this PHP class exactly for that purpose:
>
> http://www.phpclasses.local/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/
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php