Upgrading Localization cryptography service

Note: Download the latest LSP Cryptography Service file from the LSP co-requisites KB2321203, then extract it to the LSP Server.
  1. Access 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.
    Note: If Execution Policy Exchange is displayed, select the appropriate response. The default response is N.
  4. Exit Powershell after the uninstallation is completed.
  5. 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'
  6. Open the LocalizationCryptographyService.exe.config file and change the port number. For example, http://localhost:8085.
  7. Save the file.
  8. Right-click install.ps1 and select Run with Powershell.
    Note: If Execution Policy Exchange is displayed, select the appropriate response. The default response is N.
  9. Exit Powershell after the uninstallation is completed.
  10. Open services.msc.
  11. 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 run 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.