cfgfoo

git clone https://orangeshoelaces.net/git/cfgfoo.git

094dc6c7062e4191257f9e7181b3c5a3635c97d5

Author: Vasilii Kolobkov on 12/16/2018

Committer: Vasilii Kolobkov on 12/16/2018

Request X.509 certificates with acme-client

Stats

aliases                   | 2 ++
steps/acme-client/reqcrt1 | 7 +++++++
2 files changed, 9 insertions(+)

Patch

diff --git a/aliases b/aliases
index ba59099..2dfdff4 100644
--- a/aliases
+++ b/aliases
@@ -1,6 +1,8 @@
 : ${CFGFOOPATH:=./cfgfoo}
 alias cfgfoo="${CFGFOOPATH}/cfgfoo"
 
+alias acmereqcrt1="cfgfoo ${CFGFOOPATH}/steps/acme-client/reqcrt1 "
+
 alias addfln="cfgfoo ${CFGFOOPATH}/steps/edit/addfln "
 
 alias mkdir="cfgfoo ${CFGFOOPATH}/steps/fs/mkdir "
diff --git a/steps/acme-client/reqcrt1 b/steps/acme-client/reqcrt1
new file mode 100644
index 0000000..4a6873e
--- /dev/null
+++ b/steps/acme-client/reqcrt1
@@ -0,0 +1,7 @@
+step_taken() {
+	[ -f "$2" ]
+}
+
+take_step() {
+	acme-client -A "$1"
+}