Re: openssl question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 6, 2011 at 3:41 PM, Kai Renz <writemecas@xxxxxxxxxxxxxx> wrote:

> Hi,
>
> i try to create a self signed certificate using this code:
> <snip>
> I'm using a windows box with xampp installed.
>
> regards.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
http://us3.php.net/manual/en/function.openssl-csr-new.php

Check out this page, especially the second comment (by user AA). It seems
that "$csr = openssl_csr_new($dn, $privkey);" will generate its own private
key, and $privkey should be set to null initially.

I don't know for sure, though. I've never done this before.

-- 
--Zootboy

Sent from my PC.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux