Upgrading Localization cryptography service

Note: Download the latest LSP Cryptography Service file from the LSP co-requisites KB then extract it to the LSP Server.
  1. Go to the LSP Server and extract the LSP Cryptography Service file.
  2. Navigate to the LocalizationCryptographyService_Installer folder.
  3. Right-click uninstall.ps1 and select Run with Powershell.
  4. After uninstallation, re-install the software.
    Note: Updating Cryptography service would reset the port number. We recommend updating this port number. To find your previously used port, go to LSP Database and run this script: SELECT * FROM LCS_LST_APP_Parameters WHERE Name = 'Cryptography URI'
  5. Open the LocalizationCryptographyService.exe.config file and change the port number. For example, http://localhost:8085.
  6. Save the file.
  7. Right-click install.ps1 and select Run with Powershell.
  8. Open services.msc.
  9. Select Localization Cryptography Service and start the service.
    Note: If you are using LSP Cryptography Service 2021.01 or earlier version with port number other than 8691, you must execute this script in your LSP Database:

    UPDATE LCS_SMD_DAR_TenantParameter

    SET Value = 'http://localhost:{​​​​​​​​newport}​​​​​​​​/'

    WHERE Value = 'http://localhost:8691/'

    Replace the value in {newport} with your port number. You can skip this step if you are using the default port number of 8691.