Cannot instantiate KeyManager (General questions)
We are actually using the latest Version of WeOnlyDo.Client.SFTP (3.3.2.76) together with the latest Version of WeOnlyDo.Security.Cryptography.KeyManager (2.0.1.18). We need the Keymanager to load a PrivateKey from filesystem and populate the appropriate property of the SFTP Class (PrivateKey). It all works fine locally but on the production server it doesnt. At instantiation of the KeyManager we are receiving this error:
[...]
OPENSSL_add_all_algorithms_noconf() at WeOnlyDo.Security.Cryptography.KeyManager..ctor() at BLL.FTPManager.ConnectToSFTP(Boolean useKey)
[...]
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.