mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Merge pull request #4479 from abrychcy/patch-acme-sftp-upload
security/acme-client: fix export of ca certs for SFTP upload automation
This commit is contained in:
commit
ce0ee331e8
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ function exportCertificates(array $cert_refids): array
|
|||
$item["key"] = $_tmp["prv"];
|
||||
// check if a CA is linked
|
||||
if (!empty((string)$cert->caref)) {
|
||||
$item['ca'] = $_tmp['ca'];
|
||||
$item['ca'] = $_tmp['ca']['crt'];
|
||||
|
||||
// combine files to export a fullchain.pem
|
||||
$item["fullchain"] = $item["cert"] . $item["ca"];
|
||||
|
|
|
|||
Loading…
Reference in a new issue