richardhicks / aovpn

PowerShell scripts and sample ProfileXML files for configuring Windows 10 Always On VPN
MIT License
158 stars 83 forks source link

Set-IKEv2VpnRootCertificate.ps1 Custom EKU OID? #21

Open lplpmc opened 7 months ago

lplpmc commented 7 months ago

On 2016 i am able to configure my custom cert OIDs for user/device tunnel certificates using:

CertificateEKUsToAccept : {Contoso AlwaysOnVPN, Contoso AlwaysOnVPN - DeviceTunnel}

I am unable to use this same configuration on server 2022

I have tried using the oid values as well without success.

Do you have any insight on this issue? Thanks for your time,

richardhicks commented 7 months ago

I've been using this for quite some time on Windows Server 2022 without issue. Can you tell me exactly what command syntax you used and what error you received? A screenshot would be perfect. Thanks!