Попробовал так:
log = {
level = "DEBUG";
}
config = {
cert_from_registry = "false";
set_user_pin = "false";
}
params =
(
{ name = "��������������� VipNet CSP";
alias = "VIPNet";
type = "capi";
provider_name = "Infotecs Cryptographic Service Provider";
provider_num = "2";
skip_pkcs11_list = "true";
},
{ name = "��������������� VipNet CSP";
alias = "VIPNet_linux";
type = "capi_linux";
provider_name = "Infotecs Cryptographic Service Provider";
provider_num = "2";
skip_pkcs11_list = "true";
},
{ name = "��������������� ��������� CSP";
alias = "CryptoPro";
type = "capi";
provider_name = "Crypto-Pro GOST R 34.10-2001 Cryptographic Service Provider";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "��������������� ��������� ������� CSP";
alias = "CryptoPro_Rutoken";
type = "capi";
provider_name = "GOST R 34.10-2001 Rutoken CSP";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "��������������� Signal-COM CSP";
alias = "SignalCom";
type = "capi";
provider_name = "Signal-COM CPGOST Cryptographic Provider";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "��������������� LISSI-CSP";
alias = "LISSI-CSP";
type = "capi";
provider_name = "LISSI-CSP";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "JaCarta �����������";
alias = "JaCarta";
type = "pkcs11";
alg = "gost2001";
model = "eToken GOST,JaCarta GOST 2.0";
lib_win = "jcPKCS11-2.DLL";
lib_linux = "libjcPKCS11-2.so.2.4.0";
lib_mac = "jcPKCS11-2";
},
{ name = "����� ������� ���";
alias = "ruTokenECP";
type = "pkcs11";
alg = "gost2012_512";
model = "Rutoken ECP";
#lib_win = "rtpkcs11ecp.dll";
lib_linux = "libcppkcs11.so";
#lib_mac = "librtpkcs11ecp.dylib";
}
);
Лог выдал следующее:
2018-11-16 14:33:20:WEBLIB:init_logger:started
2018-11-16 14:33:20:WEBLIB:process_request:Request string(length = 114) = "{"func_name":"create","params":{"file_config":"","config_string":"","log_file_location":"","plugin_log_level":""}}"
2018-11-16 14:33:20:IFC:ifc_create:Logger inited
2018-11-16 14:33:20:IFC:ifc_create:Nor config file nor configuration string setted - use default configuration file
2018-11-16 14:33:20:IFC:ifc_create:got config, initializing log
2018-11-16 14:33:20:IFC:init_log:STARTED
2018-11-16 14:33:20:IFC:init_log:result [0]
2018-11-16 14:33:20:IFC:ifc_create:log initialized
2018-11-16 14:33:20:IFC:init_ifc_config:STARTED
2018-11-16 14:33:20:IFC:init_ifc_config:result [0]
2018-11-16 14:33:20:IFC:init_ifc_records:STARTED
2018-11-16 14:33:20:IFC:init_ifc_records:params count: 8
2018-11-16 14:33:20:IFC:init_ifc_records:result [8]
2018-11-16 14:33:20:IFC:ifc_create:Config records were read from config: 8
2018-11-16 14:33:20:IFC:init_ifc_records:STARTED
2018-11-16 14:33:20:IFC:init_ifc_records:params count: 8
2018-11-16 14:33:20:IFC:init_ifc_records:result [8]
2018-11-16 14:33:20:IFC:ifc_create:Config read OK. Initiated config records: 8
2018-11-16 14:33:20:IFC:ifc_create:ifc_create result [0]
2018-11-16 14:33:20:WEBLIB:process_request:Response string(length = 16) = "{"error_code":0}"
2018-11-16 14:33:20:WEBLIB:process_request:Request string(length = 23) = "{"func_name":"version"}"
2018-11-16 14:33:20:WEBLIB:process_request:Response string(length = 34) = "{"error_code":0,"version":"3.0.4"}"
2018-11-16 14:33:20:WEBLIB:process_request:Request string(length = 58) = "{"func_name":"get_list_info","params":{"cryptoType":null}}"
2018-11-16 14:33:20:IFC:ifc_get_list_info:STARTED
2018-11-16 14:33:20:IFC:ifc_init_openssl:init openssl with INIT flag
2018-11-16 14:33:20:IFC:ifc_init_openssl:result [done]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [0]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'Infotecs Cryptographic Service Provider', provider type is '2' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:Provider Infotecs Cryptographic Service Provider type capi was not acquired. The requested provider does not exist.
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [1]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'Infotecs Cryptographic Service Provider', provider type is '2' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:dlopen failed: libcrypt32.so: cannot open shared object file: No such file or directory
2018-11-16 14:33:20:IFC:list_keys_capi:Infotecs Cryptographic Service Provider is not installed
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [2]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'Crypto-Pro GOST R 34.10-2001 Cryptographic Service Provider', provider type is '75' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:Provider Crypto-Pro GOST R 34.10-2001 Cryptographic Service Provider type capi was not acquired. The requested provider does not exist.
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [3]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'GOST R 34.10-2001 Rutoken CSP', provider type is '75' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:Provider GOST R 34.10-2001 Rutoken CSP type capi was not acquired. The requested provider does not exist.
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [4]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'Signal-COM CPGOST Cryptographic Provider', provider type is '75' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:Provider Signal-COM CPGOST Cryptographic Provider type capi was not acquired. The requested provider does not exist.
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [5]
2018-11-16 14:33:20:IFC:list_keys_capi:STARTED
2018-11-16 14:33:20:IFC:list_keys_capi:provider name is 'LISSI-CSP', provider type is '75' i_keys is not set
2018-11-16 14:33:20:IFC:list_keys_capi:Provider LISSI-CSP type capi was not acquired. The requested provider does not exist.
2018-11-16 14:33:20:IFC:list_keys_capi:result [1]
2018-11-16 14:33:20:IFC:ifc_get_list_info:config record [6]
2018-11-16 14:33:20:IFC:list_keys_pkcs11:STARTED
2018-11-16 14:33:20:IFC:list_keys_pkcs11:pkcs11_lib is 'libjcPKCS11-2.so.2.4.0', i_keys is not set
2018-11-16 14:33:20:IFC:ifc_load_pkcs11_lib:STARTED
2018-11-16 14:33:20:IFC:ifc_load_pkcs11_lib:module path: libjcPKCS11-2.so.2.4.0
2018-11-16 14:33:20:IFC:ifc_load_pkcs11_lib:No cached library found. Trying to load the new one
2018-11-16 14:33:20:IFC:unix_load_pkcs11_lib:STARTED
2018-11-16 14:33:20:IFC:unix_load_pkcs11_lib:p11_module_path: libjcPKCS11-2.so.2.4.0
2018-11-16 14:33:20:IFC:unix_load_pkcs11_lib:result [0]
2018-11-16 14:33:21:IFC:ifc_load_pkcs11_lib:C_Initialize successfull
2018-11-16 14:33:21:IFC:ifc_load_pkcs11_lib:result [0]
2018-11-16 14:33:21:IFC:list_keys_pkcs11:slots count: [0]
2018-11-16 14:33:21:IFC:list_keys_pkcs11:No connected tokens found
2018-11-16 14:33:21:IFC:list_keys_pkcs11:result [0]
2018-11-16 14:33:21:IFC:ifc_get_list_info:config record [7]
2018-11-16 14:33:21:IFC:list_keys_pkcs11:STARTED
2018-11-16 14:33:21:IFC:list_keys_pkcs11:pkcs11_lib is 'libcppkcs11.so', i_keys is not set
2018-11-16 14:33:21:IFC:ifc_load_pkcs11_lib:STARTED
2018-11-16 14:33:21:IFC:ifc_load_pkcs11_lib:module path: libcppkcs11.so
2018-11-16 14:33:21:IFC:ifc_load_pkcs11_lib:No cached library found. Trying to load the new one
2018-11-16 14:33:21:IFC:unix_load_pkcs11_lib:STARTED
2018-11-16 14:33:21:IFC:unix_load_pkcs11_lib:p11_module_path: libcppkcs11.so
2018-11-16 14:33:21:IFC:unix_load_pkcs11_lib:result [0]
2018-11-16 14:33:22:IFC:ifc_load_pkcs11_lib:C_Initialize successfull
2018-11-16 14:33:22:IFC:ifc_load_pkcs11_lib:result [0]
2018-11-16 14:33:22:IFC:list_keys_pkcs11:slots count: [1]
2018-11-16 14:33:22:IFC:get_slot_and_token_info:STARTED
2018-11-16 14:33:22:IFC:get_slot_and_token_info:GetSlotInfo [0]
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:C_GetTokenInfo [0]
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:result [0]
2018-11-16 14:33:22:IFC:check_token_support:STARTED
2018-11-16 14:33:22:IFC:check_token_support:result [17]
2018-11-16 14:33:22:IFC:list_keys_pkcs11:Token is not supported -> skip it
2018-11-16 14:33:22:IFC:list_keys_pkcs11:result [0]
2018-11-16 14:33:22:IFC:ifc_get_list_info:result [0]
2018-11-16 14:33:22:WEBLIB:process_request:Response string(length = 50) = "{"error_code":0,"ifc_list":[],"ifc_list_length":0}"
2018-11-16 14:33:22:WEBLIB:process_request:Request string(length = 97) = "{"func_name":"get_list_certs_by_cryptoid_array","params":{"cryptoID_array":[],"show_progress":0}}"
2018-11-16 14:33:22:WEBLIB:process_request:Response string(length = 34) = "{"error_code":0,"result_array":[]}"
Как понимаю, важны здесь эти строки:
2018-11-16 14:33:22:IFC:get_slot_and_token_info:STARTED
2018-11-16 14:33:22:IFC:get_slot_and_token_info:GetSlotInfo [0]
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:C_GetTokenInfo [0]
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3"
2018-11-16 14:33:22:IFC:get_slot_and_token_info:result [0]
2018-11-16 14:33:22:IFC:check_token_support:STARTED
2018-11-16 14:33:22:IFC:check_token_support:result [17]
2018-11-16 14:33:22:IFC:list_keys_pkcs11:Token is not supported -> skip it
Сертифитакы также не отображаются.
Проверял с Рутокен ЭЦП 2.0 и Рутокен ЭЦП PKI. Пакет с библиотекой: lsb-cprocsp-pkcs11-64-4.0.9944-5.x86_64