howto/IPsecWithPublicKeys/strongSwan5Example.md
... ...
@@ -4,7 +4,7 @@
4 4
5 5
root@debian:~# mkdir /etc/ipsec.d/public
6 6
root@debian:~# ipsec pki --gen --type rsa --outform pem --size 4096 > /etc/ipsec.d/private/mykey.pem
7
- root@debian:~# ipsec pki --pub --in /etc/ipsec.d/private/mykey.pem --outform pem > /etc/ipsec.d/public/mykey.pub
7
+ root@debian:~# ipsec pki --pub --in /etc/ipsec.d/private/mykey.pem --outform pem > /etc/ipsec.d/public/mykey.pem
8 8
root@debian:~# echo ": RSA mykey.pem" >> /etc/ipsec.secrets
9 9
10 10
### Exchange public keys with your peer