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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php