As a premise, this is not a LibreSwan question.

That said, there are a couple of options to Set-VpnConnection in Windows PowerShell which may help, assuming I understand what you need:

-MachineCertificateEKUFilter
-MachineCertificateIssuerFilter

Apparently, they both require MachineCertificate as AuthenticationMethod.

https://learn.microsoft.com/en-us/powershell/module/vpnclient/set-vpnconnection

https://learn.microsoft.com/en-us/powershell/module/vpnclient/set-vpnconnection?view=windowsserver2025-ps#-machinecertificateekufilter

https://learn.microsoft.com/en-us/powershell/module/vpnclient/set-vpnconnection?view=windowsserver2025-ps#-machinecertificateissuerfilter

On 11/25/2024 10:40 AM, Marc wrote:
I have a windows client with multiple certs (probably has 2nd vpn connection), sending of 
course the incorrect one. Any one have an idea how to make windows send the correct one? 
I already tried with certificate issuer in "configure certificate selection"




_______________________________________________
Swan mailing list -- [email protected]
To unsubscribe send an email to [email protected]

_______________________________________________
Swan mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to