richardhicks / aovpn

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

Set-IKEv2VpnRootCertificate.ps1 Custom EKU OID? #21

Open lplpmc opened 9 months ago

lplpmc commented 9 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 9 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!