|
|
|
@ -56,6 +56,7 @@
|
|
|
|
|
fputs($fp, "basicConstraints = critical, CA:FALSE\n");
|
|
|
|
|
fputs($fp, "extendedKeyUsage = clientAuth, serverAuth, nsSGC, msSGC\n");
|
|
|
|
|
fputs($fp, "keyUsage = digitalSignature, keyEncipherment\n");
|
|
|
|
|
fputs($fp, "authorityInfoAccess = OCSP;URI:http://ocsp.cacert.org:2560\n");
|
|
|
|
|
$bits = explode("/", $row['subject']);
|
|
|
|
|
foreach($bits as $val)
|
|
|
|
|
{
|
|
|
|
@ -152,6 +153,7 @@
|
|
|
|
|
fputs($fp, "basicConstraints = critical, CA:FALSE\n");
|
|
|
|
|
fputs($fp, "extendedKeyUsage = clientAuth, serverAuth, nsSGC, msSGC\n");
|
|
|
|
|
fputs($fp, "keyUsage = digitalSignature, keyEncipherment\n");
|
|
|
|
|
fputs($fp, "authorityInfoAccess = OCSP;URI:http://ocsp.cacert.org:2560\n");
|
|
|
|
|
$bits = explode("/", $row['subject']);
|
|
|
|
|
foreach($bits as $val)
|
|
|
|
|
{
|
|
|
|
|