Рутокен ЭЦП + Fedora 21 + Java Plugin Firefox - iBank2 (Бифит)
Только подключил Рутокен ЭЦП.
# pcsc_scan
Scanning present readers...
0: O2 Micro Oz776 00 00
1: Aktiv Rutoken ECP 01 00
Fri Feb 13 23:58:19 2015
Reader 1: Aktiv Rutoken ECP 01 00
Card state: Card inserted,
ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1
...........................
Possibly identified card (using /root/.smartcard_list.txt):
3B 8B 01 52 75 74 6F 6B 65 6E 20 44 53 20 C1
Rutoken ECP (DS)
a вот запустить отладочный режим не получается:
# systemctl status pcscd
● pcscd.service - PC/SC Smart Card Daemon
Loaded: loaded (/usr/lib/systemd/system/pcscd.service; static)
Active: active (running) since Sat 2015-02-14 03:35:18 MSK; 37min ago
Main PID: 1797 (pcscd)
CGroup: /system.slice/pcscd.service
└─1797 /usr/sbin/pcscd --foreground --auto-exit
[root@localhost stan]#
# systemctl stop pcscd
Warning: Stopping pcscd.service, but it can still be activated by:
pcscd.socket
[root@localhost stan]# systemctl stop pcscd.socket
[root@localhost stan]# systemctl status pcscd
● pcscd.service - PC/SC Smart Card Daemon
Loaded: loaded (/usr/lib/systemd/system/pcscd.service; static)
Active: failed (Result: exit-code) since Sat 2015-02-14 04:13:53 MSK; 6s ago
Process: 2109 ExecStart=/usr/sbin/pcscd --foreground --auto-exit (code=exited, status=1/FAILURE)
Main PID: 2109 (code=exited, status=1/FAILURE)
Feb 14 04:13:53 localhost.localdomain systemd[1]: pcscd.service: main process...
Feb 14 04:13:53 localhost.localdomain systemd[1]: Unit pcscd.service entered ...
Feb 14 04:13:53 localhost.localdomain systemd[1]: pcscd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost stan]# # systemctl start pcscd -a -f -d
systemctl: invalid option -- 'd'
# Не хочет запускаться в Debug mode
# systemctl start pcscd -a -f
[root@localhost stan]# systemctl status pcscd
● pcscd.service - PC/SC Smart Card Daemon
Loaded: loaded (/usr/lib/systemd/system/pcscd.service; static)
Active: active (running) since Sat 2015-02-14 04:16:19 MSK; 16s ago
Main PID: 2132 (pcscd)
CGroup: /system.slice/pcscd.service
└─2132 /usr/sbin/pcscd --foreground --auto-exit
[root@localhost stan]#
А проблема в том, что java plugin работает, но не видит ID Рутокена
# java -version
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)
[root@localhost stan]#
Java(TM) Plug-in 11.31.2
File: libnpjp2.so
Path: /usr/java/jre1.8.0_31/lib/amd64/libnpjp2.so
Version: 11.31.2
State: Enabled