Доброго времени суток
Помогите разобраться
суть:
не получается сделать через stunnel авторизацию по ru-token-ам ((
Операционная система: Windows 7 x64 EN && Windows XP Pro x32 RU
Конфиг-файл stunnel:
CAFile=ca.crt
engine=dynamic
engineCtrl=SO_PATH:C:\1111\engine_pkcs11.dll
engineCtrl=ID:pkcs11
engineCtrl=LIST_ADD:1
engineCtrl=LOAD
engineCtrl=MODULE_PATH:c:\Windows\System32\rtPKCS11.dll
engineCtrl=INIT
engineCtrl=PIN:12345678
debug = 7
output = C:\1111\stunnel.log
client = yes
sslVersion=TLSv1
taskbar=yes
[RDP]
engineNum=1
key=04
cert = c:\1111\tmp\tester.crt
accept = 127.0.0.1:8088
connect = 172.16.1.20:1494
TIMEOUTclose = 1
Лог stunnel:
No limit detected for the number of clients
stunnel 4.52 on x86-pc-msvc-1600 platform
Compiled with OpenSSL 1.0.0d 8 Feb 2011
Running with OpenSSL 0.9.8s-fips 4 Jan 2012
Update OpenSSL shared libraries or rebuild stunnel
Threading:WIN32 SSL:ENGINE Auth:none Sockets:SELECT,IPv6
Reading configuration from file stunnel.conf
Enabling support for engine 'dynamic'
Executing engine control command SO_PATH:C:\1111\engine_pkcs11.dll
Executing engine control command ID:pkcs11
Executing engine control command LIST_ADD:1
Executing engine control command LOAD
Executing engine control command MODULE_PATH:c:\Windows\System32\rtPKCS11.dll
Initializing engine 1
Engine 1 initialized
Executing engine control command PIN:12345678
Compression not enabled
Snagged 64 random bytes from C:/.rnd
Wrote 1024 new random bytes to C:/.rnd
PRNG seeded successfully
Initializing SSL context for service RDP
Certificate: c:\1111\tmp\tester.crt
Certificate loaded
Key file: 04
[b]ENGINE_load_private_key: 26096080: error:26096080:engine routines:ENGINE_load_private_key:failed loading private key[/b]
Server is down
ресурсы:
Я использую вот этот дистрибутив библиотек и stunnel: https://www.dropbox.com/s/k7kwiwtjs47rs … d_libs.rar
Заранее спасибо
PS:
в конфиг файле, в секции [RDP] какое значение должен содержать параметр key (так понял, это ID выдаваемого ключа? Как посмотреть?)