acme: load custom cert from base desk, not home

Small patch for the ancient workaround.
This commit is contained in:
fang 2021-10-07 09:54:29 +02:00 committed by GitHub
parent 62741df416
commit 565c1b0bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1300,11 +1300,11 @@
~& [%failed-order-history fal.hit]
this
::
:: install privkey and cert .pem from /=home=/acme, ignores app state
:: install privkey and cert .pem from /=base=/acme, ignores app state
::TODO refactor this out of %acme, see also arvo#1151
::
%install-from-clay
=/ bas=path /(scot %p our.bow)/home/(scot %da now.bow)/acme
=/ bas=path /(scot %p our.bow)/base/(scot %da now.bow)/acme
=/ key=wain .^(wain %cx (weld bas /privkey/pem))
=/ cer=wain .^(wain %cx (weld bas /cert/pem))
(emit %pass /install %arvo %e %rule %cert `[key cer])