Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
<?php | |
/** | |
* This is a function run recursevly to calculate all the possible subsets given an array | |
**/ | |
function getAllSubsets($nums, &$result){ | |
for ($i = 0; $i<count($nums); $i++) | |
{ | |
$val = $nums[$i]; | |
$query = $this->Blports->find('all'); | |
$query->select(['field1', | |
'field2' => 'group_concat(field2)', | |
'field3']) | |
->group('field2'); |