Installation of smart card reader and smart card drivers in macOS: Разлика между версии

От Infonotary
Направо към навигацията Направо към търсенето
Ред 60: Ред 60:
In case you have to register the PKCS#11 module на Bit4id in a program different from Firefox, Thunderbird or InfoNotary Smart Card Manager you have to specify a path - /System/Library/bit4id/cryptoki/libbit4ipki.dylib.
In case you have to register the PKCS#11 module на Bit4id in a program different from Firefox, Thunderbird or InfoNotary Smart Card Manager you have to specify a path - /System/Library/bit4id/cryptoki/libbit4ipki.dylib.


After the installation continue with configuration [[Използване на квалифициран електронен подпис в Mozilla Firefox за Mac OS X|Firefox]] or [[Install Infonotary Certificate Chain on Mac OS X |Safari]].
After the installation continue with configuration [[Using your digital signature with Firefox on MAC OS X |Firefox]] or [[Install Infonotary Certificate Chain on Mac OS X |Safari]].
 
'''Note:''' In case you didn't receive a CD or your laptop doesn't have a CD drive, please write to support@infonotary.com , and we will send you the drivers.


=== Download and install OpenSC ===
=== Download and install OpenSC ===

Версия от 13:14, 2 юни 2014

General

In several places in this instruction you have to run a command in Terminal. You can start Terminal from Applications/Utilities or you can write Terminal in Spotlight.

The text writen this way are commands, which you have to run in Terminal. You dont have to write them just copy them with the clipboard. To work correctly commands which starts with sudo,is nessesary for you to have a password for the user. If you don't have set a temporary one during the settings. After you use one of the commands you will be propted for password.

What is nessesary to work with digital signature

In order to use your digital sigature is nessesary to install the driver for the smart card reader, the middleware for the smart card and the service for smart card resders (pcscd) running. The service pcscd must start automatically when you plug a reader.

System requerments

The software requered to work with certificates on Mac, supports Mac OS X 10.5 or newer.

Support for 10.5 is paritial. All needed drivers work on 10.5 but InfoNotary software for signing of documents and card management does not.

Driver for readers

ACR 38C

ACR 38T.png

If the your reader is labeled with ACR38C-SPC-R at the bottom, have a sign SIMLector 38T on the inside or a sign mLector-S, then your device works with the build in driver in the OS and you don't have to install any drivers.

ACR 38U

ACR 38U.png

Reader that are labeled ACR 38U,are not compatible with this driver, so if you use such a device you have to install driver from the site of the manifactorer.

Omnikey (HID Global)

CardMan6121.gifCardMan3021.png

For you to use OmniKey CardMan, you have to install the driver from the site of Hid Global - Driver HID Global for OS X 10.5 and newer.

Warning.jpg The installatioon of Omnikey driver will disable the driver for smart card readers in Mac OS X. If you use other device you don't have to install them. In case you want to use both please contact with Infonotary support centar.

Warning.jpg After update of the OS X you have to install the drivers again.

Todos

TodosArgusMiniII.gif

To use Todos Argos Mini II you have to install the driver. Depends on what version of Mac OS X you use install the following:

Install Smart Card driver

Depend of the model of your card you have to use different software. The model of the card is on the Personal Access Rights, which you receive with your card. In case your model is „T&S DS/2048 (L)“, you have to install Bit4id Universal Middleware from you installation CD. If the model is „CardOS V4.3B (C)“, you have to install OpenSC.

Incase you dont have Personal Access Rights, you can check your card model with this command pcsctest from terminal. She will ask you for the reader number, you have to press 1. If there is no problem with the reader installation you will get a row beginning with „Current Reader ATR Value“. Against this text is an indetifier for the card.

  • For T&S DS/2048 the indentidier is „3B FF 18 00 FF 81 31 FE 55 00 6B 02 09 03 03 01 11 01 43 4E 53 11 31 80 8C“.
  • For CardOS V4.3 the indentidier is „3B F2 18 00 02 C1 0A 31 FE 58 C8 08 74“.

Installation of Bit4id Universal Middleware

To use Bit4id on Mac OS X, you must install Bit4id Universal Middleware. You can find it on the installation CD, in folder Install/MacOSX. to work with Firefox и Thunderbird, you have to install Bit4id Cryptoki Libraries 1.2.12.pkg, and for integration with the OS and the other programs for Mac OS X - bit4id-tokend-ts-en-1.2.9.0.pkg.dmg.

In case you have to register the PKCS#11 module на Bit4id in a program different from Firefox, Thunderbird or InfoNotary Smart Card Manager you have to specify a path - /System/Library/bit4id/cryptoki/libbit4ipki.dylib.

After the installation continue with configuration Firefox or Safari.

Note: In case you didn't receive a CD or your laptop doesn't have a CD drive, please write to support@infonotary.com , and we will send you the drivers.

Download and install OpenSC

To use your certificate on OSX you must install OpenSC. With OpenSС you dont install any program with graphic interface so you wont find anything in Applications. You can download the latest version for your OS from here:

In case you have to register the PKCS#11 module на Bit4id in a program different from Firefox, Thunderbird or InfoNotary Smart Card Manager you have to specify a path - /Library/OpenSC/lib/onepin-opensc-pkcs11.so.

After the installation continue with configuration Testing Installation or Firefox and Safari.

Use both OpenSC and Bit4id Universal Middleware

In case you want to use both OpenSC and Bit4id Universal Middleware on the same computer you have to forbid OpenSC to access T&S DS/2048 smart cards. This can easily be done by replacing the configuration file of OpenSC (/Library/OpenSC/etc/opensc.conf) with this one.

Testing Installation

In case of a problem run this program with a reader plugged in and send the text with a breaf description of the problem on support@infonotary.com:

Manually running and stopping pcscd

On Mac OS X pcscd is starting from securityd when a reader is inserted. In case you want to forbid the automatic start yo must edit the file /System/Library/LaunchDaemons/com.apple.securityd.plist. In this file you must add the collored rows:

<string>/usr/sbin/securityd</string>
<string>-i</string>
<string>-s</string>
<string>off</string>

After that restart the computer.

To start manually pcscd yo must start this command from Terminal sudo /usr/sbin/pcscd -f. When the daemon is started this way to stop it you press Ctrl + C or run sudo killall pcscd in Terminal.

Uninstall

OpenSC can be uninstaled with this command - sudo /usr/local/bin/opensc-uninstall.

Bit4id Universal Middleware can be uninstaled, by running the program Uninstaller from the folder /System/Library/bit4id.

Documentation

Documentation for OpenSC is available on Internet or in folder /Library/OpenSC/doc/ after the installation.

On the page Working with OpenSC you can find instruction for th most common operation with OpenSC.