cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
807
Views
4
Helpful
9
Replies

Client able to connect due to invalid PMKID

Maccarony
Level 1
Level 1

Hello Everyone,

 

I'm facing client disconnection , it tries to connect to the AP and the user is steady and not moving. Captured RA traces and found out the it is happening due to PMKID is sent during authentication.

Client sending authentication request to AP and AP sending back authentication response with status invalid pmkid.

 

Two concerns here,

1. what invalid pmkid says? Invalid password? If can someone clear here about what is pmkid and why it's needed.

2. How do I validate what makes pmkid being invalid? Does it have expiry time to be valid?

9 Replies 9

Mark Elsen
Hall of Fame
Hall of Fame

 

  - @Maccarony     What software version are you using on the 9800 controller ?
                              + Checkout these bug reports :
                                         https://bst.cloudapps.cisco.com/bugsearch?pf=prdNm&prdNam=Cisco%20Catalyst%209800%20Series%20Wireless%20Controllers&kw=pmkid&bt=custV&sb=anfr

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

srimal99
Level 1
Level 1

@Maccarony you can get some undestanding of how PMK, GTK and authentication process work from following link

https://mrncciew.com/2014/09/11/cwsp-pmk-caching-preauthentication/

Thanks for sharing , I understand its a unique key mutual between AP to station, my concern is it related to password practically when we try to login to wireless network and shown up window with user/password.

So invalid password says invalid pmkid?

Only make sure wifi client add correct password.

If yoh use symbols in password try change it.

MHM

So invalid pmkid means incorrect password?

If you not do roaming' then it can be issue of wrong password.

MHM

Saikat Nandy
Cisco Employee
Cisco Employee

Answers - 

1. what invalid pmkid says? Invalid password? If can someone clear here about what is pmkid and why it's needed.
Ans - PMKID is an unique identifier which gets generated as part of the auth mechanism between a client and AP. This ID identifies the PMK used for encrypting comm between and client and AP. During the 4 way handshake the first key that gets generated is MSK. PMK gets derived from MSK. The PMKID is derived from this key and exchanged as part of the handshake process. During fast roaming process, this PMKID allows clients to quickly and securely reconnect to different APs without re-authenticating from scratch.

2. How do I validate what makes pmkid being invalid? Does it have expiry time to be valid?
Ans - We do have option to validate but not east to figure out as it need OTA, WLC internal RA trace and EPC. Every single new auth will generate a new PMKID.

Coming back to your scenario, when the user is already connected to SSID and in RUN state, that means PMKID is already generated. This will come in picture if the device tries to roam. Although it might be physically not moving but if the driver is sensitive and getting signals from multiple APs with almost same signals strength, it can try to roam. Now when WLC says invalid pmkid, there could be 2 possibilities - either device is sending a wrong PMKID which WLC/AP is not aware of. Or else device is sending a correct PMKID, however WLC/AP is reporting it in wrong way. So in your scenario first thing that need to validated if the device is roaming across different APs while physically located in one place. If that's happening and you don't want that, data rates/power levels can be tweaked to see if you can stop that. If that gets stopped, roaming won't happen and subsequently no further issue for PMKID mismatch.

ammahend
VIP Alumni
VIP Alumni

are you using fast transition ? if yes disable and test again. 

-hope this helps-

is this an intune managed device? What authentication method is being used: EAP-TLS, EAP-PEAP with MSChapv2
are these windows 11 devices with credential guard enabled

what is PMK cache set to if intune managed devices 

Had situation where PMK cache was set to 5min and this caused similar issues. Also EAP-PEAP is not supported if Credential Guard is enabled from Microsoft

*****Help out other by using the rating system and marking answered questions as "Answered"*****
*** Please rate helpful posts ***
Review Cisco Networking for a $25 gift card