Sorry about that Fellow Monks.
here is version 1.1 *grin*
I have a template that gives hints on how to setup (and how
many) a Certificate Authority (or CA for short) . One of the
things is if more then 1 CA is going to be made out of this
template then how is the name of the CA going to change.
The easiest thing is to just add a number at a User defined
spot. so..
_
@s_dn=("c=US,ou=NUM,cn=foo", "c=DE,ou=NUM,cn=foo");
@dn=@s_dn;
my $number=0;
for(my $i=0; $i<3; $i++,$number++)
{
for(@dn) { s/NUM/$number/g}
# now I would save this dn and other stuff now.
print @dn;
print "\tou= should be $number\n";
}
|