Win10 VPN fails with IKEv2 error 13806
OS / Environment
Algo: Ubuntu 16.04.1x64 Client: Windows10 x64
Ansible version
ansible 2.2.0.0
Version of components from requirements.txt
ansible = 2.2.0.0 dopy = 0.3.5 boto = 2.45.0 boto3 = 1.4.4 azure = 2.0.0rc5 apache-libcloud = 1.5.0 six = 1.10.0 pyopenssl = 16.2.0 jinja2 = 2.8
Summary of the problem
The client certificate (user).p12 is rejected by IKEv2 on Windows 10 due to issues with the CN, SAN, KeyUsage, and EKU:
- ~~CN must begin with the ip address of the server, for example 1.2.3.4_username.p12~~
- ~~If the KeyUsage and EKU are used, the SAN must be present and equal to the CN~~
- ~~ip_username does not appear to be an accepted value for the SAN~~
~~Removing the SAN, KeyUsage, and EKU fields fixes this, but doesn't seem to be the correct fix. I'm currently investigating a way to get the SAN working properly, but I figured opening an Issue will let someone more familiar with the system come up with a solution.~~
Seems like the only fix needed is to add the clientAuth KU and fix the path in the ps1 file
Steps to reproduce the behavior
Follow the instructions for setting up a VPN connection for Windows 10. Looking through the code, the deployment method (DigitalOcean) shouldn't matter.
The way of deployment (cloud or local)
Cloud (DigitalOcean)
Expected behavior
The VPN work properly on Win 10
Actual behavior
The VPN connection is rejected. See above