Re: openssl question

From: Date: Tue, 19 Apr 2011 02:56:48 +0000
Subject: Re: openssl question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-312456@lists.php.net to get a copy of this message
On Wed, Apr 6, 2011 at 3:41 PM, Kai Renz <writemecas@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.

« previous php.general (#312456) next »