Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Problems with IKEv2 VP from iOS, with certificate based user auth

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 507 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      main.go
      last edited by

      Hi All,

      Has anyone managed to successfully connect a VPN tunnel using IKEv2 from an iOS mobile device eg. iPad / iPhone to pfsense 2.5.1 using a certificate for user auth? I'm using Apple Configurator 2 to create the VPN profile for the device.

      Using a Mutual PSK in the Phase 1 Proposal works just fine, and the tunnel works perfectly.

      I just cant seem to get this to work using a Mutual Certificate. The most success I've had is using a SHA256 RSA cert with v3 extension alt DNS name, which as far as I'm able to tell seems to get through the Phase 1 stage, but then fails with little to go on in the logs other than

      IKE_SA checkout not successful

      similarly to described here: https://forum.netgate.com/topic/142583/ipsec-won-t-connect-beyond-phase-1

      For obvious reasons I'd much rather use a certificate over a PSK, but no matter what I try and with so many options I'm struggling.

      I've sen mention of EAP-MSChapv2 working, but running through the available guides eg.

      https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-mobile-ikev2-eap-mschapv2.html

      hasn't got me anywhere. Theres some usefully info here

      https://www.reddit.com/r/PFSENSE/comments/hwrskn/ikev2_w_ios_issues/

      but the settings on the iOS side aren't clarified.

      Any help / advice would be really appreciated.

      Thanks

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy