Handshake error on WPA2 EAP-TLS on Windows > Unifi > FreeRadius
Posted by Aramil_S@reddit | sysadmin | View on Reddit | 3 comments
I have FreeRadius server on Ubuntu, UniFi gateway as client and Windows PC as endpoint. I generated all the certificates and added them on machine according to (link in comment).
Keys were initially added to user stores on endpoint, while debugging I also added them to machine stores. All keys (ca, server, client) are successfully verified both on Windows and with openssl -verify on Linux. I've added ca certs to ca-certificates (got error "CA not found" before). I also tried to use set of keys generated with openssl on Windows (same results).
Eventually, I stumbled on problem I cannot solve. When trying to connect, I get error in "freeradius -X":
eap_tls: (TLS) The client is informing us that there is a failure inside the TLS protocol exchange
I double checked the config and don't see anything suspicious. In event viewer on the client there is a message with error code I cannot find anywhere in the internet:
Authentication failed for EAP method type 13. The error was 0x90090318.
I suppose that this is some easy problem, but it's hard for me with Linux terminal and googling for commands all the time.
Any ideas how to further debug this?
Aramil_S@reddit (OP)
Guide I used: https://cubicspot.blogspot.com/2013/04/setting-up-wpa2-enterprise-aes-with.html
Aramil_S@reddit (OP)
test pastebin https://pastebin.com/WGz2bUQL
Aramil_S@reddit (OP)
Trace from Android try (Windows one looks the same), there is warning about unknown user even while it's added to users file, but I'm using default entry anyway:
https://pastebin.com/9ndLHmDh