trouble with function openssl_csr_new()
| From: | Albert Kopka | Date: | Wed, 21 Mar 2007 10:05:00 +0000 |
| Subject: | trouble with function openssl_csr_new() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250998@lists.php.net to get a copy of this message | ||
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 ?
--
Albert Kopka
akopka@uw.olsztyn.pl