lmlicvalidator
The lmlicvalidator helps you to pre-validate a certificate license file (from a remote client) against a license server. It allows you to know in advance whether the license certificate works or not when it is applied on the license server. The utility requires a license server and a vendor daemon against which the certificate license file is to be validated. The utility performs the range of validations of the certificate presented starting with basic encoding checks, extension checks, keyword validations and syntactic, and correctness of the license certificate. It reports errors if found or print a validation complete message when the validation is complete.
Usage
lmlicvalidator [-licfile license_file] [-licserv port@host] -repAllErr [-t timeout_value] -help
where:
Argument |
Description |
-licfile license_file |
Path to license certificate file that needs to be validated. |
-licserv port@host |
port@host where port and host are the TCP/IP port number and host name of license server against which the certificate needs to be validated. |
-repAllErr |
[Optional] By default utility will print only first 10 errors in certificate. When this argument is set it will display all the errors in the certificate. |
-t timeout_value |
[Optional] By default it's set to 4 seconds. When this argument can be followed by a timeout value in seconds. |
-help |
To print usage information. |
Note:The following information might be helpful:
• | The lmlicvalidator utility is only available as part of platform directories x64_n6, i86_n3, x64_lsb and i86_lsb. |
• | The lmlicvalidator utility is so far tested and certified to work against license server running on, Windows, Suse, RHEL and CentOS. |
The following table shows the keywords and syntax validation that lmlicvalidator supports and does not support:
List of keywords and syntax
Keyword / Syntax |
Yes | No |
Notes |
# Comments |
Yes |
|
Common Vendor Daemon |
No |
The common vendor daemon related checks are not present in the license validation utility. |
Encoding checks |
Yes |
Client side validation. |
Expired Lines |
Yes |
|
Feature Line |
Yes |
|
File size restriction (1 MB) |
Yes |
Client and Server side validation. |
Future dated linesHost validation in server line |
Yes |
|
Host-Id validation in server line |
Yes |
|
Increment Line |
Yes |
|
License file extension |
Yes |
Client side validation. |
License file presence |
Yes |
Client side validation. |
License Server status checks |
Yes |
|
Line continuation |
Yes |
|
Line start with valid keyword |
Yes |
|
Lines with permanent keyword |
Yes |
|
Lines with signature mismatch |
Yes |
|
Lines with uncounted keyword |
Yes |
|
PACKAGE keyword |
No |
The package line validation is not present in the license validation utility. |
Server line presence |
Yes |
|
SERVER line with, [HEARTBEAT_INTERVAL=seconds] |
Yes |
|
SERVER line with, [port] |
Yes |
|
SERVER line with, [PRIMARY_IS_MASTER] |
Yes |
|
Upgrade Line |
Yes |
|
USE_SERVER keyword |
Yes |
|
Vendor daemon available checks |
Yes |
|
Vendor line presence |
Yes |
|
Vendor port range validation |
Yes |
|
VENDOR/DAEMON line with, options_file_path |
Yes |
|
VENDOR/DAEMON line with, port |
Yes |
|
VENDOR/DAEMON line with, vendor_daemon_path |
Yes |
|