Getting error CKR_PIN_LEN_RANGE on smart card

Solution Verified - Updated -


  • While listing object on smart card getting error CKR_PIN_LEN_RANGE.
# pkcs11-tool -O -l --module /usr/lib64/ -v
    Please enter User PIN: 
    error: PKCS11 function C_Login failed: rv = CKR_PIN_LEN_RANGE     


  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In