From 772886e4d4aa36fcfef8c01951deac18f0d67ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Fri, 14 Apr 2017 20:32:59 +0300 Subject: [PATCH] Fix typo --- certidude/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certidude/cli.py b/certidude/cli.py index 3a442e0..66d0d0d 100755 --- a/certidude/cli.py +++ b/certidude/cli.py @@ -645,7 +645,7 @@ def certidude_setup_strongswan_client(authority, remote): client_config.set(authority, "common name", const.HOSTNAME) client_config.set(authority, "request path", "%s/ipsec.d/reqs/%s.pem" % (const.STRONGSWAN_PREFIX, const.HOSTNAME)) client_config.set(authority, "key path", "%s/ipsec.d/private/%s.pem" % (const.STRONGSWAN_PREFIX, const.HOSTNAME)) - client_config.set(authority, "certificate path", "%s/ipsec.d/certs/%s.pem" % const.HOSTNAME) + client_config.set(authority, "certificate path", "%s/ipsec.d/certs/%s.pem" % (const.STRONGSWAN_PREFIX, const.HOSTNAME)) client_config.set(authority, "authority path", "%s/ipsec.d/cacerts/ca.pem" % const.STRONGSWAN_PREFIX) client_config.set(authority, "revocations path", "%s/ipsec.d/crls/ca.pem" % const.STRONGSWAN_PREFIX) with open(const.CLIENT_CONFIG_PATH + ".part", 'wb') as fh: