sapp icon indicating copy to clipboard operation
sapp copied to clipboard

Support paths on certs array

Open erikn69 opened this issue 1 year ago • 1 comments

Would this be useful or unnecessary?

// this add support for this
$certArray =[
    'cert' => '/PATH/TO/MY/cert.pem',
    'pkey' => '/PATH/TO/MY/key.pem',
    //'extracerts' => '/PATH/TO/MY/extracerts.pem',
];
// Current
$certArray =[
    'cert' => file_get_contents('/PATH/TO/MY/cert.pem'),
    'pkey' => file_get_contents('/PATH/TO/MY/key.pem'),
    //'extracerts' => file_get_contents('/PATH/TO/MY/extracerts.pem'),
];

erikn69 avatar May 30 '23 15:05 erikn69

I don't think that it is needed. It would need just one pair of lines from the callee and avoids multiple types for parameters

dealfonso avatar Jun 02 '23 10:06 dealfonso