Re: trouble with function openssl_csr_new()
| From: | Richard Lynch | Date: | Sat, 24 Mar 2007 01:54:42 +0000 |
| Subject: | Re: trouble with function openssl_csr_new() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251256@lists.php.net to get a copy of this message | ||
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote:
>
> Hi ...
>
> I want to generate certificate for smardcard login (MS Win-XP)
> and for do that the subject of certificate should contain same key
> (in key:value of $dn) multiple times for example ...
>
> cert generated by ca suplied with W-2003 server for smartcard login
> contains:
> Subject: DC = local, DC = foo, CN = Users, CN = bar
>
> but $dn is an array ... so if I define array as:
>
> $dn = array ( "DC" => "local", "DC" => "foo" );
>
> I've got array with one key:value pair "DC" => "foo" ...
>
> Is there any other way to pass the $dn to function ...
> (using other structure ... or formated string ... )
> or mayby I can use other function whitch supports repeated keys ?
WILD GUESS!!!
If the person who wrote openssl_csr_new() thinks like I do, maybe:
$dn = array("DC"=>array("local","foo"),
"CN"=>"Users");
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?