[PHP] How to create CA certificate with PHP

2009-11-10 Thread Tanveer Chowdhury
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

[PHP] Re: How to create CA certificate with PHP

2009-11-12 Thread 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 mle...@acm.org 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

[PHP] How to read certificate values of HTTPS webserver

2009-11-12 Thread Tanveer Chowdhury
Hi, I have a SSL enabledd webserver which is CA self signed. So when client hits the server , the server shows the client his certificate and as its self signed so the client browser add the exception and proceed. Now when the client hit the webserver and server showed its certificate; is there

[PHP] Create client certificate with openssl

2009-11-24 Thread Tanveer Chowdhury
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,

[PHP] connection to SSL enabled ldap problem

2009-11-27 Thread Tanveer Chowdhury
Hi all I am having a problem in connection to an SSL enabled ldap server. In localhost is easily connects to the ldap server with SSL but if try to connect remotely then it cannot bind to ldap server but can connect. In the slapd.conf I added the 3 lines to enable SSL TLSCACertificateFile

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Tanveer Chowdhury
That means its not recognizing the php code and thats why its giving the download prompt. why not install xampp or wamp. On Fri, Nov 27, 2009 at 4:24 AM, Julian Muscat Doublesin opensourc...@gmail.com wrote: Hello Everyone, I have installed PHP, Apache and MySQL on a Windows 7 machine

[PHP] How to read a certificate and compute hash of it

2009-12-04 Thread Tanveer Chowdhury
Hi Currently I am doing some coding in php to match a client certifcate with an openldap certificate of that same user just to verify. I mean the user stored one copy of this certficate in openldap previously and now when he shows his certificate to server the server will then fetch that users

[PHP] problem in Computing hash of certificates

2009-12-12 Thread Tanveer Chowdhury
Hi all, I was willing to match two certificates using hash fn but the problem is when I fetch the certificate from apache its in pem format and when I fetch the cert from LDAP its in der so only this one needs to be converted to .pem format which I m doing but its showing me two diff. hashes. When