Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-3242: sctool commands for Centrify smart card support

Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:08 AM

Applies to: All versions of Centrify DirectControl

Question:

What is the definition of the sctool command and some of its options?

Answer:

Most frequently used options:
 
sctool -sTo see the current [s]tatus of sctool (Whether smart card support is enabled or not).
sctool -eTo [e]nable smart card support
sctool -DThis command [D]umps out all the certificates present on the smart card along and whether their attributes match up against AD
sctool -kTo get a new kerberos ticket similar to [k]init


For further detail on these options, see the sctool help by running:

  man sctool

Additional commands:

  sudo rm -rf /var/db/TokenCache/tokens/*

(Clears the smart card token cache of previously inserted smartcards.)


  sudo sctool -r -t ocsp:none -t crl:best -p crl  

(Disable the OCSP check and set CRL to "Best Attempt".)


  sudo sctool -r -t ocsp:none -t crl:none   

(Disables both OCSP and CRL checking.)



For further detail on how these commands are used in troubleshooting smart card issues, please see the following KB:

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.