Re: trouble with function openssl_csr_new()

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

 






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


[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