0

I Have an Aladdin eToken with certificate on it. On Win Xp there is no any problem of using this certificate with cisco VPN. Now I want to add a certificate to the keychain on my mac. I found the following command:

sc_auth accept [-u user] -h hash

But I have no idea how to get a hash from eToken. Could anybody provide me a solution?

4

1 回答 1

1

打开终端并输入“sc_auth hash”(连接的 etoken 和红灯亮)。这将列出一些苹果证书和来自 etoken 的证书。
样本输出:
AA779E7AD6DBB45AFCA48C64F1118E115DFB5604 eToken B6EFD1C9C5DA0D4B70E18B580BD22757D53D79AA apple..

从列表中获取 etoken 的哈希值(复制和粘贴)并输入以下内容 sudo sc_auth accept -u username –h hash

要使用 etoken 进行身份验证,请使用以下命令对其进行注册:

sudo /usr/libexec/PlistBuddy -c "add rights:system.login.console:mechanisms:0 string builtin:smartcard-sniffer,privileged" /etc/authorization

sudo /usr/libexec/PlistBuddy -c "add rules:authenticate:mechanisms:0 string builtin:smartcard-sniffer,privileged" /etc/authorization

于 2013-12-17T09:17:10.140 回答