I'm working on configuring IKEv2 VPN with Azure on Mac. So far I've been following these instructions to set up the P2S connection: https://docs.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert. Here are the steps I've taken thus far:
- Created a Virtual Network
- Created a Virtual Network Gateway
- Configured a Point to Site Connection selecting an address pool to dynamically assign IPs to connected clients, and then created a self signed certificate on my Mac using the Certificate Assistant in the KeyChain application
- I exported that cert and converted it to a base64 cert using openssl: openssl x509 -inform der -in BenRudolph.cer -out BenRudolph.pem -sha1
- I then copied the base64 encoded cert and uploaded it to the VPN Gateway's Root Certificates.
- Then I downloaded the VPN client
- I then setup the IKEv2 VPN using the network settings on my Mac using the downloaded information (VPNServer node in the VPNSettings.xml.
- Then I set the Authentication settings, but it does not let me use the cert that was downloaded even though I installed it by double clicking. It only allows me to select the self signed cert that I created. When I try to authenticate, the authentication fails.
What am I missing here? Any help would be much appreciated. I have screenshots, but I can't submit them because it says my account is not verified.