Generate a permanent license for use with a local development and test environment.
Prerequisites
Before you can generate a permanent license file, ensure you have installed SAP Commerce Cloud locally and that it already has a temporary license. Check before proceeding by opening a terminal window, navigating to your platform directory and entering the following command.
For unix systems:
./license.sh -show
For Windows systems:
license.bat -show
You should then see something like the following:
The following license keys were found:
System. . . . . : CPS
Hardware Key. . : Y4989890650
SW product. . . : CPS_SQL
SW product Limit: Unlimited
Begin date. . . : 17/Jun/2020
Expiration date : 15/Sep/2020
License key type: Temporary
Installation No.: 0000000000
System No.. . . : 000000000000000000
Validity. . . . : valid
For more information, see Command Line License Tool.
Context
The temporary license provided when you download and install SAP Commerce Cloud in a local environment only gives you a maximum of 120 days use. If you’re deploying SAP Commerce Cloud to use for extended periods of development and testing, then you need a permanent license. You can generate a license with the license generation tool in the SAP ONE Support portal. This process provides you with a file that you can download and install in your local environment using the built-in command-line license tool.
All command line examples in this topic use the unix shell script. Replace it with license.bat for Windows.
Procedure
- Log on to the SAP ONE Support Portal
, and navigate to License Keys (On Premise).
- Add a new system.
- Enter SAP Commerce as Product, and select the correct version from the Version list.
- In the details screen, enter the following, then click Continue:
- System ID: CPS
- System Name: Any name you choose to identify your installation
- System Type: For a development license, select Development system
- Database: Your installed database
- Operating System: Your operating system
- Once the system is defined, select + to Add License Key
- Enter your Hardware Key into the Create License Key Request window.
- Open a terminal window, navigate to your platform directory and enter ./license.sh -show
- Find and copy your hardware key from the information that is returned.
- Paste this hardware key into the Hardware Key field.
- Click Add.
License Type and Valid until details should be pre-filled, so you do not have to enter these manually.
- Select your license key, then click Generate at the bottom of the screen to generate a license key file for the requested system.
- Download or email the generated file and save it to your system from the icons on the right above the list of licenses.
- Import the keyfile to your system using the command-line license tool.
./license.sh -install /path/to/keyfile.txt
If successful, the tool displays the following:
1 SAP license key(s) successfully installed.
- Check that the license key was successfully updated to a permanent license, with the specified expiry date.
You should see output similar to the following:
The following license keys were found:
System. . . . . : CPS
Hardware Key. . : Y4989890650
SW product. . . : CPS_SQL
SW product Limit: Unlimited
Begin date. . . : 17/Aug/2020
Expiration date : 18/Feb/2022
License key type: Permanent
Installation No.: SAP-INTERN
System No.. . . : 000000000850507119
Validity. . . . : valid