We are trying to setup new DEV box and when deployed existing website, getting FIPS validation error. We had SquishIt 0.9.
To resolve the issue, we updated SquishIt to latest version 1.0.1 and still having following error.
Would like to know how to change the default hashing algorithm SqishIt using which is FIPS complaint.
Would really appreciate help resolving this issue.
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.MD5.Create()
at SquishIt.Framework.Utilities.Hasher.GetHash(Stream stream)
at SquishIt.Framework.Utilities.Hasher.GetHash(String content)
at SquishIt.Framework.Utilities.FilePathMutexProvider.CreateSharableMutexForPath(String normalizedPath)
at SquishIt.Framework.Utilities.FilePathMutexProvider.GetMutexForPath(String path)
at SquishIt.Framework.Utilities.CriticalRenderingSection..ctor(String path)
at SquishIt.Framework.Base.BundleBase`1.RenderRelease(String key, String renderTo, IRenderer renderer)
at Mayo.KCMS.SWD.Web.Layouts.GBS.Shared.MasterGoldLayout.Page_Load(Object sender, EventArgs e)
Nested Exception
Exception: System.InvalidOperationException
Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
Source: mscorlib
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
Let me know in case of more information required.