|
@@ 547-550 (lines=4) @@
|
| 544 |
|
} |
| 545 |
|
// save all intermediate certificates and CRLs to separate files in |
| 546 |
|
// both root-ca directories |
| 547 |
|
foreach ($eapIntermediates as $index => $onePem) { |
| 548 |
|
file_put_contents($tmpDir . "/root-ca-eaponly/intermediate$index.pem", $onePem); |
| 549 |
|
file_put_contents($tmpDir . "/root-ca-allcerts/intermediate$index.pem", $onePem); |
| 550 |
|
} |
| 551 |
|
foreach ($eapIntermediateCRLs as $index => $onePem) { |
| 552 |
|
file_put_contents($tmpDir . "/root-ca-eaponly/intermediateCRL$index.pem", $onePem); |
| 553 |
|
file_put_contents($tmpDir . "/root-ca-allcerts/intermediateCRL$index.pem", $onePem); |
|
@@ 551-554 (lines=4) @@
|
| 548 |
|
file_put_contents($tmpDir . "/root-ca-eaponly/intermediate$index.pem", $onePem); |
| 549 |
|
file_put_contents($tmpDir . "/root-ca-allcerts/intermediate$index.pem", $onePem); |
| 550 |
|
} |
| 551 |
|
foreach ($eapIntermediateCRLs as $index => $onePem) { |
| 552 |
|
file_put_contents($tmpDir . "/root-ca-eaponly/intermediateCRL$index.pem", $onePem); |
| 553 |
|
file_put_contents($tmpDir . "/root-ca-allcerts/intermediateCRL$index.pem", $onePem); |
| 554 |
|
} |
| 555 |
|
|
| 556 |
|
$checkstring = ""; |
| 557 |
|
if (isset($servercert['CRL']) && isset($servercert['CRL'][0])) { |