Certificate Common Name:
Country (2 digit code):
State:
Locality/city:
Organization:
Organizational Unit:
SANS’s (comma separated):
Path for document (c:\certrequest.txt):
“;
echo “New-ExchangeCertificate -GenerateRequest”;
echo ” -Path C:\\2007certreq.csr”.$_POST[‘PATH’];
echo ” -KeySize 2048 -SubjectName \”c=”.$_POST[‘COUNTRY’];
echo “, s=”.$_POST[‘STATE’];
echo “, l=”.$_POST[‘CITY’];
echo “, o=”.$_POST[‘ORG’];
echo “, ou=”.$_POST[‘UNIT’];
echo “, cn=”.$_POST[‘CN’];
echo “\” -DomainName “.$_POST[‘SANS’];
echo ” -PrivateKeyExportable \$True”;
echo ““;
}
?>