summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/swanctl/peer.tmpl
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-06-29 11:06:44 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-06-29 21:26:44 +0200
commitf5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a (patch)
tree932113197018d823ca83e092139c8a06f89e3b99 /data/templates/ipsec/swanctl/peer.tmpl
parent6f66e71e4622c54058b8689d4be730905d69fe22 (diff)
downloadvyos-1x-f5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a.tar.gz
vyos-1x-f5a8a9cdfe52c331177c8bc7b8fb84fc08d4f60a.zip
pki: ipsec: T3642: Migrate IPSec to use PKI configuration
Diffstat (limited to 'data/templates/ipsec/swanctl/peer.tmpl')
-rw-r--r--data/templates/ipsec/swanctl/peer.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/peer.tmpl b/data/templates/ipsec/swanctl/peer.tmpl
index 0d01cd546..36cb1abfb 100644
--- a/data/templates/ipsec/swanctl/peer.tmpl
+++ b/data/templates/ipsec/swanctl/peer.tmpl
@@ -35,7 +35,7 @@
auth = {{ auth_type }}
{% endif %}
{% if peer_conf.authentication.mode == 'x509' %}
- certs = {{ peer_conf.authentication.x509.cert_file }}
+ certs = {{ peer_conf.authentication.x509.certificate }}.pem
{% elif peer_conf.authentication.mode == 'rsa' %}
pubkeys = localhost.pub
{% endif %}