cancel
Showing results for 
Search instead for 
Did you mean: 

How to test a VCG using the command line in FlexNet Operations On-Premises?

How to test a VCG using the command line in FlexNet Operations On-Premises?

Summary

How to test a VCG using the command line in FlexNet Operations On-Premises?

Synopsis

This articles provides steps to test the Vendor Certificate Generator (VCG) once it has been built, without having to implement it into Flexnet Operations On-Premises.
The VCG can take PRD files through the command line to create a license file signature to test if the correct signature for your Flexnet Publisher(FNP) toolkit has been generated.

Discussion

Steps to test the VCG:
1. Build the VCG using the instructions found in the FNO Implementation Guide.
2. Create file called test.prd and add the following text to the file:
NOT_METERED
PRODUCT = Product_A
OPTION=standard
ISV = flexera
METER_COUNTER = 1
METER_DECREMENT = 1
VERSION = 1.0
STYLE=FEATURE
TYPE = floating
BEGIN_COMPONENT
NAME = prod_a_component
END_COMPONENT
KEY = 4DEF711B8BADD2AE
FILE_VERSION = 9
3. Run the VCG through the command line with the following syntax:
<your vendor name>_vcg.exe fulfill -s 06-jun-2011 -h ANY -n 10 -f test.prd
This should produce output similar to this:
SERVER this_host ANY
VENDOR flexera
USE_SERVER
FEATURE prod_a_component flexera 1.0 permanent 10 SIGN="0060 A4F1 DCFD \
6A9E F276 44E3 E682 9585 B9E0 D70E 4037 8181 A2E7 6205 BDB9 \
0C59 C4DC 4A2D 7A92 22C9 1A5F 8177 B432 D3CA 78E5 EA5E F442 \
1B5E 56FC 5EF2"
4. Copy and paste this text into a license file and start up your license server using this license file.
5. Checkout the license with your FNP enabled application to see if the correct signature has been created through the VCG.

Additional Information

If you run VCG through the command line using the -help flag, you can get more information about the vcg usage:
Usage: <vendor name>_vcg.exe <command> [<options> ...]
commands:
define define a product
fulfill create product license certificates
help print this message
verify verify a product
version print version
Enter "<vendor name>_vcg.exe help <command>" for help on a specific VCG command.
Was this article helpful? Yes No
No ratings