On Wed, Apr 6, 2011 at 3:41 PM, Kai Renz <writeme...@googlemail.com> 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.