Здравствуйте. Уже который день бьюсь по установке Rutokena под Ubuntu. Перепробовола чуть ли не все версии Убунты, последняя 6 попытка сейчас на Убунту 12.04 64 bit. Ошибок было море , но, вроде, все решила. Установлены openct, opensc, pcsc-lite. Вроде бы все между собой контачит. Сейчас я остановилась на этапе установки ключевого контейнера.
support@support:~$ /opt/cprocsp/bin/amd64/certmgr -inst -cont '\\.\Aktiv Rutoken S 00 00\RaUser-1e34bd3a-caff-4998-8cc6-8c7cd016ef29'
Certmgr 0.9 prerelease (c) "CryptoPro", 2007-2010.
program for managing certificates, CRLs and stores
Can not open container
2148073501
[ErrorCode: 0x00000006]
Эту часть '\\.\Aktiv Rutoken S 00 00\RaUser-1e34bd3a-caff-4998-8cc6-8c7cd016ef29' я взяла из вывода комманды:
root@support:/home/support/opensc-0.12.2# /opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -fqcn -verifyc
CSP (Type:75) v3.6.5361 KC1 Release Ver:3.6.7184 OS:Linux CPU:AMD64 FastCode:READY:SSSE3.
AcquireContext: OK. HCRYPTPROV: 6737603
\\.\Aktiv Rutoken S 00 00\RaUser-1e34bd3a-caff-4998-8cc6-8c7cd016ef29
OK.
Total:
[ErrorCode: 0x00000000]
Следующие команды выполняются без проблем:
root@support:/home/support/opensc-0.12.2# openct-tool atr
Detected Rutoken S driver
Card present, status changed
ATR: 3b 6f 00 ff 00 56 72 75 54 6f 6b 6e 73 30 20 00 00 90 00
root@support:/home/support/opensc-0.12.2# opensc-tool -a
Using reader with a card: Aktiv Rutoken S 00 00
3b:6f:00:ff:00:56:72:75:54:6f:6b:6e:73:30:20:00:00:90:00
root@support:/home/support/opensc-0.12.2# /opt/cprocsp/bin/amd64/list_pcsc
available reader: Aktiv Rutoken S 00 00
root@support:/home/support/opensc-0.12.2# /opt/cprocsp/sbin/amd64/cpconfig -hardware reader -view
Nick name: Aktiv Rutoken S 00 00
Connect name:
Reader name: Aktiv Rutoken S 00 00
Nick name: FLASH
Connect name:
Reader name: FLASH
Nick name: HDIMAGE
Connect name:
Reader name: ��������� ������� �� ������� ����
Следующая команда выдает вот это:
root@support:/home/support/opensc-0.12.2# pcscd -fdddddd
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000031 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000005 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000034 pcscdaemon.c:364:main() file /var/run/pcscd/pcscd.comm already exists.
00000006 pcscdaemon.c:366:main() Another pcscd (pid: 15107) seems to be running.
root@support:/home/support/opensc-0.12.2# service pcscd restart
root@support:/home/support/opensc-0.12.2# pcscd -fdddddd
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000031 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000005 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000004 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000097 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000020 configfile.l:257:DBGetReaderListDir() Skipping non regular file: ..
00000006 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .
00000007 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000045 pcscdaemon.c:518:main() pcsc-lite 1.8.3 daemon ready.
00000107 tokenparser.l:187:bundleParse() Could not open bundle file /usr/lib64/pcsc/drivers/ifd-RutokenS.bundle.zip/Contents/Info.plist: Not a directory
00001314 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000115 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000116 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/002/002
00000024 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/002/002
00000007 hotplug_libudev.c:311:HPAddDevice() Adding USB device: Aktiv Rutoken S
00000027 readerfactory.c:936:RFInitializeReader() Attempting startup of Aktiv Rutoken S 00 00 using /usr/lib64/pcsc/drivers/openct-ifd.bundle/Contents/Linux/openct-ifd.
00000163 dyn_unix.c:81:DYN_GetAddress() IFDHCreateChannelByName: /usr/lib64/pcsc/drivers/openct-ifd.bundle/Contents/Linux/openct-ifd.so: undefined symbol: IFDHCreateCha
00000011 readerfactory.c:794:RFBindFunctions() Loading IFD Handler 2.0
00000223 readerfactory.c:967:RFInitializeReader() Open Port 0x200000 Failed (usb:0a89/0020:libudev:0:/dev/bus/usb/002/002)
00000009 readerfactory.c:276:RFAddReader() Aktiv Rutoken S init failed.
00000007 readerfactory.c:987:RFUnInitializeReader() Attempting shutdown of Aktiv Rutoken S 00 00.
00000005 readerfactory.c:863:RFUnloadReader() Unloading reader driver.
00000045 hotplug_libudev.c:379:HPAddDevice() Failed adding USB device: Aktiv Rutoken S
00000160 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000112 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000116 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x093A, PID: 0x2510, path: /dev/bus/usb/003/002
00000147 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000157 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000147 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
Я не понимаю в чем ошибка, а главное как это испарвить? Почему не выполняется команда certmgr -inst - cont ???
Кстати, после того как я выдернула и вставила Rutoken на "горячую", он перестал определятся командами list-pcsc, openct-tool, opensc-tool. Как это исправить?
Заранее спасибо за ваши ответы.