You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the fix for issue #500 causes a problem with certain certificates databases.
GetCmsSigner() attempts to open a second data reader inside BuildCertificateChain(), while one is already active by dbase.Find(), this is not supported by many databases.
The easiest fix would be to instantiate the CmsSigner outside the loop.
A workaround for MsSQL certificate databases is to enable MultipleActiveResultSets, but no equvalient is available for MySQL.
The text was updated successfully, but these errors were encountered:
… private key query
Fixes issue #508
As pointed out in issue #508, many SQL databases do not allow reentrant queries.
The simple fix here is to grab the data we need (certificate and prvate key)
and then break out of the query and then build the CmsSigner's certificate chain.
Hello,
the fix for issue #500 causes a problem with certain certificates databases.
GetCmsSigner()
attempts to open a second data reader insideBuildCertificateChain()
, while one is already active bydbase.Find()
, this is not supported by many databases.The easiest fix would be to instantiate the
CmsSigner
outside the loop.A workaround for MsSQL certificate databases is to enable MultipleActiveResultSets, but no equvalient is available for MySQL.
The text was updated successfully, but these errors were encountered: