Форум КриптоПро
»
Средства криптографической защиты информации
»
КриптоПро CSP 5.0
»
libgostengy.so: cannot open shared object file: No such file or directory
Статус: Новичок
Группы: Участники
Зарегистрирован: 22.03.2021(UTC) Сообщений: 2  Откуда: Москва
|
Здравствуйте! Ставил на Centos 7.7 частично руками, частично вашими скриптами. install.sh не отработал, почему-то не видел PKI, ZLIB и GIT. Поэтому далее продолжил ставить руками: yum localinstall cprocsp-cpopenssl-110-base-5.0.11803-6.noarch.rpm yum localinstall cprocsp-cpopenssl-110-64-5.0.11803-6.x86_64.rpm yum localinstall cprocsp-cpopenssl-110-devel-5.0.11803-6.noarch.rpm yum localinstall cprocsp-cpopenssl-110-gost-64-5.0.11803-6.x86_64.rpm wget https://raw.githubuserco...nx-gost/install-certs.sh && chmod +x install-certs.sh ./install-certs.sh ngingx.conf был заменен и сам nginx не поднялся. Тогда я попробовал openssl engine:(rdrand) Intel RDRAND engine (dynamic) Dynamic engine loading supportЧто опечалило. На форуме нашел похожую проблему и попробовал в лоб: cd /etc/pki/tls mv openssl.cnf openssl.cnf.BAK cp /var/opt/cprocsp/cp-openssl-1.1.0/openssl.cnf .И опять openssl engine: Error configuring OpenSSL 140261743167376:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib64/openssl/engines/libgostengy.so): /usr/lib64/openssl/engines/libgostengy.so: cannot open shared object file: No such file or directory 140261743167376:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233: 140261743167376:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467: 140261743167376:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:392:id=gostengy 140261743167376:error:260BC066:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:eng_cnf.c:191:section=gost_section, name=default_algorithms, value=CIPHERS, DIGESTS, PKEY, PKEY_CRYPTO, PKEY_ASN1 140261743167376:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:conf_mod.c:225:module=engines, value=engine_section, retcode=-1
файла /usr/lib64/openssl/engines/libgostengy.so на самом деле нет, более того поиск тоже ничего не дал find /usr/ -name *libgostengy.so*Тут я впал в отчаянье, зарегистрировался на форуме и пишу сей текст с надеждой на вашу помощь! :) Отредактировано пользователем 22 марта 2021 г. 17:36:56(UTC)
| Причина: Не указана
|
|
|
|
|
|
Статус: Новичок
Группы: Участники
Зарегистрирован: 22.03.2021(UTC) Сообщений: 2  Откуда: Москва
|
нашел либу в /opt/cprocsp/
При этом more /etc/ld.so.conf /opt/cprocsp/cp-openssl-1.1.0/lib/amd64 /opt/cprocsp/lib/amd64 include ld.so.conf.d/*.conf Но почему-то не подхватывает. Ладно: # cp /opt/cprocsp/cp-openssl-1.1.0/lib/amd64/engines/* /usr/lib64/openssl/engines/ # ldconfig # openssl engine Error configuring OpenSSL 140331622254480:error:260B6091:engine routines:DYNAMIC_LOAD:version incompatibility:eng_dyn.c:507: 140331622254480:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:392:id=gostengy 140331622254480:error:260BC066:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:eng_cnf.c:191:section=gost_section, name=default_algorithms, value=CIPHERS, DIGESTS, PKEY, PKEY_CRYPTO, PKEY_ASN1 140331622254480:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:conf_mod.c:225:module=engines, value=engine_section, retcode=-1
Конфиг в /etc/pki/tls из /var/opt/cprocsp/cp-openssl-1.1.0/openssl.cnf
|
|
|
|
|
|
Форум КриптоПро
»
Средства криптографической защиты информации
»
КриптоПро CSP 5.0
»
libgostengy.so: cannot open shared object file: No such file or directory
Быстрый переход
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.
Important Information:
The Форум КриптоПро uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close