<div dir="ltr"><div>Dear stunnel users,</div><div><br></div><div>whereas Stunnel itself looks fine for me, it seems to have some troubles with CAPI engine. The one I cannot manage still is <b>"CAPI_GET_KEY:cryptacquirecontext error"</b> logged when attempting to export the client's key. <br></div><div><br></div><div></div><div>I tried to add</div><div><b>"<span lang="EN-US">engineCtrl = csp_name:Microsoft Enhanced RSA and AES Cryptographic Provider</span>"</b><br></div><div>to stunnel.conf, and then
<span lang="EN-US"><b>"CAPI_</b><b>CTX_SET_PROVNAME:</b><b>cryptacquirecontext error"</b> was logged instead of the above one.<br></span></div><div><span lang="EN-US"><br></span></div><div><span lang="EN-US">
</span></div><div><span lang="EN-US">The same certificate is used happily with no-capi configuration.
</span>
</div><div></div><div>
<div><span lang="EN-US">I suppose the problem is somehow related to sha256 signature in the certificate. Are there any chances to workaround?</span></div><div><span lang="EN-US"><br></span></div><div><span lang="EN-US">Stunnel version is 5.48 with OpenSSL 1.0.2o-fips. (in this very case I need to use 32bit version, so no possibility to upgrade).<br></span></div><div><span lang="EN-US"><br></span></div><div><span lang="EN-US">Thanks!<br></span></div><div><span lang="EN-US">
</span></div>
</div><div><br></div><div><br></div></div>