Encode and compress the Sitecore license file
Version: 10.5
You must compress the Sitecore license file and encode it to Base64. This procedure processes the license file and stores the encoded license key in the .\secrets\sitecore-license.txt file.
To compress and encode the license file:
- Create a PowerShell command file, and enter the following function in it:
- Run the PowerShell command file, specifying the path to the license file in the
Pathparameter. For example:
If you have suggestions for improving this article, let us know!