Solaris Smartcard Administration Guide

ProcedureTo Add a Missing ATR

When you try to add a smart card in the Smartcard Console, a screen displays the ATR of the card inserted in the reader. If the ATR that is displayed does not exist in the list of valid ATRs, add the ATR to the card-name.ATR property.

For related information, see To Add Support for a New Card Type (Console), which provides Smartcard Console instructions and a command-line example.

Steps
  1. Verify that the ocfserv daemon is enabled.

    The following command provides the status of the service.


    % svcs network/rpc/ocfserv
    

    Note –

    Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.


  2. (Optional) If necessary, as root, enable the ocfserv daemon.


    # svcadm enable network/rpc/ocfserv
    
  3. Display ocfserv properties to see if the card_name.ATR property exists.


    # smartcard -c admin
    

    For example, ocfserv lists a property MySCM.0.ATR, where MySCM is the user-friendly name of the card reader. This property reflects the ATR of the smart card that is inserted in the reader. This property is temporary. The property is added by ocfserv only for the time the card is in the reader. This property is removed when the card is removed.

  4. Add this ATR to the card_name.ATR property if the ATR displayed by this property does not exist in the list of valid ATRs.