Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Implement installing certs from clay using %acme
Browse files Browse the repository at this point in the history
  • Loading branch information
Fang- authored and jtobin committed Jun 7, 2019
1 parent fecf611 commit 6c74bc5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/acme.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,14 @@
~& [%config-history fig.hit]
~& [%failed-order-history fal.hit]
this
::
:: install privkey and cert .pem from /=home=/acme, ignores app state
::
%install-from-clay
=/ bas=path /(scot %p our.bow)/home/(scot %da now.bow)/acme
=/ key=wain .^(wain %cx (weld bas /privkey/pem))
=/ cer=wain .^(wain %cx (weld bas /cert/pem))
(emit %rule /install %cert `[key cer])
::
%init
init
Expand Down

0 comments on commit 6c74bc5

Please sign in to comment.