В логах (файл /var/log/auth.log) ошибка отображается следующим образом:
Nov 30 11:30:44 dennis pcsc[4234]: cpcsp:!OpenContainer!OpenContainer key_carrier_open fail (0x8009001f)!
Nov 30 11:30:44 dennis pcsc[4234]: capi20:!CryptAcquireCertificatePrivateKey!() AcquireContext failed!!
Что это означает?
Собираю лог, выполняя указанные команды по ссылке
http://www.cryptopro.ru/...sts&t=4577#post25846 - получаю в логах:
Nov 30 11:22:00 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel ocsp -mask 0xF
Nov 30 11:22:00 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:22:00 dennis sudo: pam_unix(sudo:session): session closed for user root
Nov 30 11:22:32 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel ocsp_fmt -mask 0x39
Nov 30 11:22:32 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:22:32 dennis sudo: pam_unix(sudo:session): session closed for user root
Nov 30 11:22:44 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel tsp -mask 0xF
Nov 30 11:22:44 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:22:44 dennis sudo: pam_unix(sudo:session): session closed for user root
Nov 30 11:22:58 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel tsp_fmt -mask 0x39
Nov 30 11:22:58 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:22:58 dennis sudo: pam_unix(sudo:session): session closed for user root
Nov 30 11:23:10 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel cades -mask 0xF
Nov 30 11:23:10 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:23:10 dennis sudo: pam_unix(sudo:session): session closed for user root
Nov 30 11:23:21 dennis sudo: vera : TTY=pts/1 ; PWD=/opt/cprocsp/sbin/ia32 ; USER=root ; COMMAND=./cpconfig -loglevel cades_fmt -mask 0x39
Nov 30 11:23:21 dennis sudo: pam_unix(sudo:session): session opened for user root by vera(uid=0)
Nov 30 11:23:21 dennis sudo: pam_unix(sudo:session): session closed for user root
Но здесь, я так понимаю, ни слова об ошибках...
Что я не так делаю? Я пытаюсь сделать ПРОСТУЮ ПОДПИСЬ!!!
Напомню, подпись через cryptcp проходит успешно.