Report this

What is the reason for this report?

How To Set Up IKEv2 VPN with StrongSwan & Certificate Authentication

Posted on December 28, 2021

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

Set Up IKEv2 VPN with StrongSwan Ubuntu

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 :)



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!

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:

https://docs.paloaltonetworks.com/globalprotect/8-1/globalprotect-admin/authentication/set-up-authentication-for-strongswan-ubuntu-and-centos-endpoints/enable-authentication-using-a-certificate-profile.html

This also includes instructions for Ubuntu.

Hope that this helps. Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.