Running ASP.NET 5 application on the coreclr on Linux fails when using the RSACryptoServiceProvider
System.DllNotFoundException: Unable to load DLL 'Advapi32.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at Internal.NativeCrypto.CapiHelper.Interop.CryptGetDefaultProvider(Int32 dwProvType, IntPtr pdwReserved, Int32 dwFlags, StringBuilder pszProvName, Int32& IntPtrProvName)
at Internal.NativeCrypto.CapiHelper.GetDefaultProvider(Int32 dwType)
at Internal.NativeCrypto.CapiHelper.OpenCSP(CspParameters cspParameters, UInt32 flags, SafeProvHandle& safeProvHandle)
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.ImportCspBlob(Byte[] keyBlob)