Web Configurator fields are blank and values are not saved in Snow License Manager
In Snow License Manager, the Web Configurator may show blank connection details. After you enter and save values, they may disappear when you reopen it. This issue can occur when the Windows policy System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing is enabled.
The Server, Database, User name, and Password fields may be empty:
When you manually enter license information on the License tab, the Web Configurator may display Invalid license information:
In C:\Program Files\Snow Software\Snow License Manager\Web\web.config, searching for connectionString may show an empty value:
<connectionStrings>
<add name="SnowLicenseManager" connectionString="" />
</connectionStrings>
The Snow Inventory Server service may also fail to restart with Error 1: Incorrect function:
The log files at C:\ProgramData\SnowSoftware\Inventory\Server\snowserver*.* may contain the following error:
2022-05-09T17:42:35+10:00;service-state;;;;Verifying database connection
2022-05-09T17:42:35+10:00;trace;;;;An unhandled error has occured in an initialization or run task.
[System.InvalidOperationException]: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.AesManaged..ctor()
at SnowSoftware.Inventory.Common.Encryption.CryptoHelper.DecryptString(Stream inputStream, Stream outputStream) in C:\Users\circleci\project\SnowSoftware.Inventory.Common\Encryption\CryptoHelper.cs:line 112
at SnowSoftware.Inventory.Common.Encryption.CryptoHelper.DecryptString(String hexString) in C:\Users\circleci\project\SnowSoftware.Inventory.Common\Encryption\CryptoHelper.cs:line 148
at SnowSoftware.Inventory.Server.Service.Program.GetConnectionString(ConnectionString connString)
at SnowSoftware.Inventory.Server.Service.Program.ServiceProgram.<>c__DisplayClass8_0.<<OnStart>b__1>d.MoveNext()Disable the Windows FIPS policy by setting the Enabled registry value to 0 at the following location:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled
Ensure that this FIPS setting is disabled in the affected Snow platform environment.