Summary
This article is about Trusted Storage Toolkit Setup 101; walkthrough provided below
Synopsis
This walkthrough takes you from downloading the Trusted Storage Toolkit through creating an entitlement and ultimately checking out a license from trusted storage with your FLEX-enabled application.
Discussion
NOTE: This walkthrough uses example data that you'll need to modify to fit your needs, including pathing, hostname, and vendor daemon.
- Extract FLEXnet Publisher v11.4.1(vendor) to new toolkit directory. (this means make a new toolkit)
- Update lm_code.h with vendor & trl keys and vendor name. ...machind/lm_code.h
- Change LM_seeds to make sure they're unique.
- Copy publisher.xml (from Orders) to <platform>\ActivationSettings\
- Change seed 0's to 8 digit hexadecimal numbers.
- Update makefile.act with the Vendor Name (this is the trusted storage makefile)
- Update the following file with the vendor name in place of runtimeloadname and item path.
(Windows) machind\activation\prep_xml\vendor_daemon.xml
(UNIX) machind\activation\prep_xml\vendor_daemon_unix.xml
(Mac) machind\activation\prep_xml\vendor_daemon_mac.xml - (Windows only) Copy ...platform/demo.rc file to <vendor>.rc and modify with vendor info.
- Build kit.
(Windows) > nmake -f makefile.act clean (clears out old make)
> nmake -f makefile.act
(UNIX) > make -f makefile.act clean (clears out old make)
> make -f makefile.act
Copy FnpCommsSoap.so from the platform/publisher directory to platform directory. - (Windows only) Build the dynamic linking library.
> build MD
Copy FnpCommsSoap.dll from the platform/publisher directory to platform directory. - installanchorservice publisher_name product_name.
(Windows - located in /platform) > installanchorservice.exe superman RetailActivation
(UNIX - located in /platform/publisher) > install_fnp.sh
(UNIX) > setenv LD_LIBRARY_PATH . - Test appactutil and serveractutil.
> appactutil -a
> serveractutil -a
NOTE: When you first create Ops, you need to change:
Administer Operations|Configure Alerts|Processing of Trusted Activations, Detection and Notification Interval to 1 Seconds (default is 1 Days).
BUILD VCG (Vendor Certificate Generator)
- Download the
VCG SDKfrom the website and extract it into the required directory. - Open the file
machind\vcg_code.hand enter into here the vendor daemon name, security seeds used by your company (note that the template may not includeLM_SEEDin the template, so you may have to add it after theENCRYPTION_SEEDsection), and lm_strength (note thatlm_strengthwill change with newer versions). These can be found in the machind\lm_code.h file from your FLEXlm / FLEXnet Licensing installation. - Once this is done, save the file and edit the vcg.mak file in the platform specific directory that has also been created.
- Replace "
VENDOR = demo" with "VENDOR =" and the name of your vendor daemon (same as in the vcg_code.h file). - Copy platform\lmprikey.h from your FLEX toolkit folder to the platform directory of your VCG toolkit.
- Now build the VCG using the standard compiler: >nmake vcg.mak
IMPORT VCG INTO OPS
Once this is done you can then import this into the FlexNet Operations system.
To configure FLEXnet Operations with your own production VCG:
- Copy your platform-specific VCG into an ops_install_dir/custom/platform/bin directory, where platform corresponds to the operating system on which FLEXnet Operations is running:
i86_n3 (Windows)
i86_re3 (Linux)
sun4_u8 (Solaris)
If your VCG was built on any of the three Linux platforms supported by the VCG kit, use a platform directory of i86_re3.
The file will be made executable when it is copied into the site directory. The VCG is run from the site directory, but will be preserved on an upgrade or reconfiguration of the site directory if it is located in the custom tree, so make sure and copy over both vcg.exe and publisher.xml.
NOTE: You'll need to do a flexnet site make to incorporate new VCG.) Also, make sure any entitlement you later create uses a Transaction Key that coincides with the correct VCG. - In the FLEXnet Operations web application, click the Administer Operations button. Click Create a License Generator Configuration in the left navigation pane.
- From the License Technology choice list, select FLEXnet Licensing. (To create a license generator configuration for a different license technology, see Creating a License Generator Configuration.)
- View or change the values of the following settings. Required fields are indicated with an asterisk. If a default value exists, it is listed as the first choice.
http://bruce:8818/flexnet/help/Operations/opsCreateVcgConfig.htm
---------------------------------------------------------------- - Click Save to save the configuration for this VCG.
- Stop FLEXnet Operations.
- To load files from the custom directory into the site directory, in the ops_install_dir directory, type flexnet site make.
- Restart FLEXnet Operations
CREATE ENTITLEMENT IN OPS
(...make an entitlement called supermanRetailENT with supermanFeature...)
INSTALL ANCHOR SERVICE ON CLIENT
Install Anchor Service as admin (vendor is publisher, app is product)
> install_dir\i86_n3\installanchorservice.exe superman appactutil
ACTIVATE ENTITLEMENT IN CLIENT TS- Make sure you have the vendorfnp.dll, FnpComms*.dll (from /platform/publisher directory), and application in appactutil directory.
- ./appactutil -served -comm soap -commServer http://bruce:8818/flexnet/services/ActivationService -entitlementID supermanRetailACT
This should show: ACTIVATION REQUEST SUCCESSFULLY PROCESSED - Check local TS with "appactutil -view" to verify license is activated.
CHECKOUT A LICENSE
Run test app...
> lmflex
> <enter>
Related Articles
Server Trusted Storage Using Short Code Transactions 5Number of Views Trusted Storage Break Reasons 10Number of Views How to View the Contents of Trusted Storage 5Number of Views Trusted Storage Keeps Breaking 30Number of Views Broken Trusted Storage, Restore Flag Set 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago