How To Set Up IKEv2 VPN with StrongSwan & Certificate Authentication

Connected Tutorial
This question is a follow-up to this tutorial:

Hi, I successfully followed the above tutorial to create a VPN with EAP authentication on Ubuntu 20.04. However, iOS only seems to allow their VPN-on-demand feature (to keep the connection alive) for connections with certificate-based authentication, so I did some research, but couldn’t really find any answers to achieving this that I could easily understand/implement.

Any help with switching the authentication in this scenario to use certificates would be greatly appreciated :)

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

I have not personally set that up in quite a while, but what I could suggest is to follow the steps from the official documentation here:

This also includes instructions for Ubuntu.

Hope that this helps. Regards, Bobby