Дополню по CSP 4.0, список экспортируемых функций возвращает не зарезолвеные объявления:
nm /opt/cprocsp/lib/amd64/libcapi20.so
00000000000c0cc0 T CertAddCertificateContextToStore
00000000000c1050 T CertAddCRLContextToStore
00000000000c0ef0 T CertAddEncodedCertificateToStore
00000000000c12c0 T CertAddEncodedCRLToStore
00000000000c13e0 T CertAddStoreToCollection
00000000000d7be0 T CertAlgIdToOID
0000000000037600 T CertCloseStore
00000000000c1970 T CertCompareCertificate
00000000000c15d0 T CertCompareCertificateName
00000000000c1a30 T CertCompareIntegerBlob
00000000000c1a80 T CertComparePublicKeyInfo
00000000000384e0 T CertCreateCertificateChainEngine
00000000000376a0 T CertCreateCertificateContext
0000000000037770 T CertCreateCRLContext
0000000000038430 T CertDeleteCertificateFromStore
0000000000038480 T CertDeleteCRLFromStore
00000000000def80 T CertDllVerifyPrivateKeyUsagePeriodCertificateChainPolicy
00000000000c1b10 T CertDuplicateCertificateChain
0000000000037840 T CertDuplicateCertificateContext
0000000000037870 T CertDuplicateCRLContext
0000000000037550 T CertDuplicateStore
00000000000380b0 T CertEnumCertificateContextProperties
00000000000c2000 T CertEnumCertificatesInStore
00000000000c2120 T CertEnumCRLsInStore
00000000000c2770 T CertFindAttribute
00000000000c72c0 T CertFindCertificateInCRL
00000000000378a0 T CertFindCertificateInStore
00000000000c2240 T CertFindChainInStore
00000000000379c0 T CertFindCRLInStore
00000000000c2710 T CertFindExtension
00000000000c5a90 T CertFindRDNAttr
00000000000c2c70 T CertFreeCertificateChain
0000000000038670 T CertFreeCertificateChainEngine
0000000000037640 T CertFreeCertificateContext
0000000000037670 T CertFreeCRLContext
00000000000c2800 T CertGetCertificateChain
0000000000037ad0 T CertGetCertificateContextProperty
00000000000c0fa0 T CertGetCRLContextProperty
00000000000c4480 T CertGetCRLFromStore
00000000000c5390 T CertGetEnhancedKeyUsage
00000000000c57b0 T CertGetIntendedKeyUsage
00000000000384d0 T CertGetIssuerCertificateFromStore
00000000000c6030 T CertGetNameStringA
00000000000c5db0 T CertGetNameStringW
00000000000da6d0 T CertGetPublicKeyLength
00000000000c58a0 T CertGetSubjectCertificateFromStore
00000000000e07a0 T CertIsRDNAttrsInCertificateName
00000000000c1b40 T CertIsValidCRLForCertificate
00000000000c6600 T CertNameToStrA
00000000000c6150 T CertNameToStrW
00000000000d7c30 T CertOIDToAlgId
00000000000374d0 T CertOpenStore
00000000000e00c0 T CertOpenSystemStore
0000000000037580 T CertOpenSystemStoreA
00000000000375e0 T CertOpenSystemStoreW
00000000000c5c60 T CertRDNValueToStrA
00000000000c5b50 T CertRDNValueToStrW
00000000000c1520 T CertRemoveStoreFromCollection
0000000000038070 T CertSaveStore
0000000000038100 T CertSetCertificateContextProperty
00000000000c1330 T CertSetCRLContextProperty
00000000000c7120 T CertStrToNameA
00000000000c6d30 T CertStrToNameW
00000000000c2ec0 T CertVerifyCertificateChainPolicy
00000000000d7880 T CertVerifyCRLTimeValidity
00000000000d7900 T CertVerifyRevocation
0000000000038680 T CertVerifySubjectCertificateContext
00000000000d7b00 T CertVerifyTimeValidity
00000000000d7b70 T CertVerifyValidityNesting
00000000000c7af0 T CPCryptGetDefaultHashOIDInfo
00000000000c77e0 T CPCryptGetDefaultSignatureOIDInfo
00000000000c9d00 T CPCryptGetPinCallback
00000000000c9c50 T CPCryptGetPinFromCallback
00000000000c7b20 T CPCryptGetProviderHashAlgId
00000000000c7410 T CPCryptGetPublicKeyOIDInfo
00000000000c75c0 T CPCryptGetSignatureOIDInfo
00000000000c90a0 T CPCryptInstallCertificate
00000000000c9510 T CPCryptInstallTemplate
00000000000c9cd0 T CPCryptSetPinCallback
00000000000c73a0 T CPGetDefaultGostHashAlgId
00000000000c9df0 T CryptAcquireCertificatePrivateKey
00000000000cad70 T CryptBinaryToStringA
00000000000ca520 T CryptBinaryToStringW
00000000000cbe10 T CryptDecodeObject
00000000000cc7a0 T CryptDecodeObjectEx
00000000000d0120 T CryptDecryptMessage
00000000000cb880 T CryptEncodeObject
00000000000cbc40 T CryptEncodeObjectEx
00000000000d0e00 T CryptEncryptMessage
0000000000038990 T CryptExportPublicKeyInfo
0000000000038880 T CryptExportPublicKeyInfoEx
00000000000d0020 T CryptGetMessageSignerCount
00000000000cc970 T CryptGetObjectUrl
00000000000ccd70 T CryptHashCertificate
00000000000cd1d0 T CryptHashToBeSigned
0000000000038820 T CryptImportPublicKeyInfo
0000000000038690 T CryptImportPublicKeyInfoEx
00000000000cf720 T CryptMsgCalculateEncodedLength
00000000000ce760 T CryptMsgClose
00000000000cefc0 T CryptMsgControl
00000000000ce730 T CryptMsgDuplicate
00000000000ce930 T CryptMsgGetParam
00000000000ced00 T CryptMsgOpenToDecode
00000000000cf2b0 T CryptMsgOpenToEncode
00000000000ceb20 T CryptMsgUpdate
00000000000d19c0 T CryptRetrieveObjectByUrlA
00000000000d2910 T CryptRetrieveObjectByUrlW
00000000000d4530 T CryptSignAndEncodeCertificate
00000000000d1090 T CryptSignMessage
00000000000d56b0 T CryptStringToBinaryA
00000000000d4b80 T CryptStringToBinaryW
00000000000d6190 T CryptVerifyCertificateSignature
00000000000d0b80 T CryptVerifyDetachedMessageSignature
00000000000d0cd0 T CryptVerifyMessageSignature
00000000000daf70 T IsValidByApplicationUsage
00000000000d7c60 T LocalAlloc
00000000000d7cc0 T LocalFree
000000000029da40 B pkivalidator_db_ctx
00000000000de470 T PrivateKeyUsagePeriodImpl
0000000000069500 T SendPKIRequest
00000000000db680 T SSLImpl
000000000029dc00 B _strictPkupCheck
В бибилиотеке CSP 3.9 R2 такой проблемы не наблюдается. При запуске клиента 1С с LD_PRELOAD недостающих библиотек получаю ту же ошибку "Не установлена на компьютере. Ошибка при получении контекста модуля криптографии.", в отладочном логе по библиотеке capi20 тишина:
LD_WARN=true LD_DYNAMIC_WEAK=true LD_DEBUG=all LD_PRELOAD=/opt/cprocsp/lib/amd64/libocsp.so.4:/opt/cprocsp/lib/amd64/libpkivalidator.so.4 /opt/1C/v8.3/x86_64/1cv8c 2>&1 | grep libcapi | grep -E 'warn|err'
Отредактировано пользователем 24 сентября 2015 г. 8:21:17(UTC)
| Причина: Не указана