hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25k stars 6.29k forks source link

Credentials error on Win 11 with IKEv2 only #1602

Open CaptainFrosty opened 3 hours ago

CaptainFrosty commented 3 hours ago

Checklist

Describe the issue Hello, I could use some help with an error I'm getting despite not changing anything with my server or client setup. I am getting "IKE credentials are unacceptable" with the native Win 11 VPN client. I have made a new user and reran the VPN setup script.

To Reproduce Steps to reproduce the behavior:

  1. Try to connect with Windows 11
  2. Fails negotiation

Expected behavior It has worked perfectly until recently.

Logs image

Server (please complete the following information)

Client (please complete the following information)

Additional context Add any other context about the problem here.

Thanks for all that you do.

CaptainFrosty commented 3 hours ago

I think I had a problem like this before. May be on the client side with Windows trying to use SHA1 instead of SHA256 with the cert signature. I don't think I ever figured out how to fix it.

CaptainFrosty commented 3 hours ago

I can fix this by adding SHA1 as an accepted cipher server side, correct? I would just prefer not to as it isn't the greatest.