aboutsummaryrefslogtreecommitdiffstats
path: root/tests/account-encrypted-openssl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/account-encrypted-openssl')
-rw-r--r--tests/account-encrypted-openssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/account-encrypted-openssl b/tests/account-encrypted-openssl
index a3ad707..1f97fd0 100644
--- a/tests/account-encrypted-openssl
+++ b/tests/account-encrypted-openssl
@@ -2,7 +2,7 @@
PASSPHRASE="test"
-openssl rsa -aes128 -passout pass:"$PASSPHRASE" </etc/lacme/account.key >/etc/lacme/account.enc.key
+openssl rsa -in /etc/lacme/account.key -out /etc/lacme/account.enc.key -aes128 -passout pass:"$PASSPHRASE"
sed -ri '0,\|^#?privkey\s*=.*| {s||privkey = file:/etc/lacme/account.enc.key|}' /etc/lacme/lacme-accountd.conf
export TERM="linux"