Starting with VE license server version 1.1.13, the previous information-only web interface has been changed to a management interface. It provides the following functions:
The web-based management GUI is provided by the license server on TCP port 8084 by default (the port can be changed in /opt/license-server/config.ini; see also Additional Configuration Options - the config.ini File).
Use the following URL in any web browser to access the management GUI:https://<host>:<port>/
where host is the name or address of the VE license server and port is the TCP port (8084 by default). Use localhost as the hostname for accessing the GUI of a license server running on the local system. Example: https://localhost:8084
.
Please note: any intermediate firewall must allow the TCP port used for the management GUI.
Upon connecting to the URL, a login screen will be displayed.
Default credentials:
After logging in, you will be presented with a list of menu options on the left pane of the screen and the content of the selected option on the right hand. Please change the default password immediately.
When connecting to the VE license server web-based management GUI for the first time, the web browser will issue a warning and inform the user that the connection is not private. This is due to the fact that Stromasys, when creating the installation kit, cannot foresee the actual customer environment. Thus, the SSL certificate included with the license server kit includes a dummy hostname that does not match the real hostname of the customer license server system, and it also contains Stromasys as the certificate authority which is unknown to web-browsers by default.
It is possible to override the warning and connect to the page. Otherwise, users must
The new certificates replace the server.pem certificate in /opt/license-server/certs (move the old certificate to a save place).
Steps to create a self-signed certificate:
# systemctl stop licensed
)# openssl genrsa -out ca.key.pem 2048
# openssl req -new -key ca.key.pem -out ca.csr -subj "/C=CN/ST=GD/O=STROMASYS/OU=LICENSE/CN=STROMASYS.COM"
# openssl x509 -req -days 7300 -sha256 -extensions v3_ca -signkey ca.key.pem -in ca.csr -out ca.cer
# openssl genrsa -out servercert.key.pem 2048
# openssl req -new -key servercert.key.pem -out servercert.csr \
-subj "/C=CN/ST=GD/O=STROMASYS/OU=LICENSE/CN=hostname.domain"# openssl x509 -req -extfile <(printf "subjectAltName=DNS:hostname.domain,DNS:hostname.domain") \
-days 7300 -sha256 -CA ca.cer -CAkey ca.key.pem -CAserial ca.srl -CAcreateserial \
-in servercert.csr -out servercert.cer
Replace hostname.domain with the real name of the VE license server system.
# cp servercert.cer server.pem
# cat servercert.key.pem >> server.pem
# systemctl start licensed
)Import the root CA (ca.cer) into your browser’s Trusted Root Certification Authorities Certificate Store.
The first screen after login is the license information screen similar to the one shown below:
It can be selected via the menu on the left (License Information).
The client list can be displayed by selecting the Client List option on the left pane. A sample with one connected client is displayed below:
The license management section can be opened by selecting Update License on the left pane. This will open the license management screen as shown below:
The license management section includes two options:
The result panes show the result of the operation including any errors that may have occurred.
As an alternative to the command-line program for C2V export, you can create your C2V file via the management GUI. The section for C2V export has two input fields described below:
Field | Description |
---|---|
License Type | Options:
|
Platform | Drop-down menu to select platform on which the license server runs. This list is different depending on the mode in which the VE license server runs: Platforms supported by general VE license mode:
The platform selected must match the platform on which the license server host system runs |
Steps to export a C2V file:
Send the C2V file to Stromasys for them to create a license.
In response to the C2V file sent, you will receive two files from Stromasys. One text file containing the license content in human-readable form, and the V2C license file.
You can import the V2C license file using the v2c command-line utility, or you can use the web GUI. In the section Import V2C File perform the following steps:
The access to the web GUI requires a username and a password. The Users section enable the management of such users. They are separate from the Linux system users.
Default credentials:
Each user can have one of two roles: Admin or Guest. The role cannot be changed after a user has been created.
Admin users have access to all options. Guest users can only display information and change their password.
The following image shows the initial user overview:
Available options on the Users screen:
Clicking on Add User opens a pop-up-window similar to the following:
You can set the following parameters:
Click on Submit to create the user.
The following shows a list with two additional users for which the Remove option is also available.
Clicking on Modify will open a window similar to the Add User window - with the difference that only the password change option is enabled.
If the password of the admin user charon is lost it can be reset via the command-line.
As the root user, use the following command:
# /opt/license-server/license_server -p
You will be prompted for the new password twice.