Jun 22, 2021
01:03 AM
Hi Team, I am using FlexNet embebed Java SDK. In one of my client machines, the application fails. This is when it tries to initialize the license manager object, it returns a "Tamper detected" error. Licensing error: Message ID: 0, Session ID: 0, Error ID: 6, Tamper detected: How do I get more details about this problem? I tried deleting the trusted storage files, but it still fails Complete stack-trace => com.flexnet.licensing.b.b: Licensing error: Message ID: 0, Session ID: 0, Error ID: 6, Tamper detected: ABCfX045RzJJeThOY21sU3RYdDlCYmJZbUt1SjBBICBmYWxzZSB7IFsidF9fV3YxdWE1dWRsMUhmVzZkZGIzYWtABCVHYSJdID0gNHE5dEd1cVZ0WThCd2x2ZWVMZ3NlVmpzY1UsWyJ2aXN1YWxfc3R1ZGlvIl0gPSB0cnVlLFsidF9fMm9INkxEVVA2cGZOM1B4NXd0R3VJZERQVlFrIl0gPSB0cnVlLMNO.
at com.flexnet.licensing.b.e.a(SourceFile:181)
at com.flexnet.licensing.b.e.a(SourceFile:2069)
at com.flexnet.licensing.b.i.<init>(SourceFile:5040)
at com.flexnet.licensing.b.a.<init>(SourceFile:46)
at com.flexnet.licensing.a.f.<init>(SourceFile:1054)
at com.flexnet.licensing.client.LicensingFactory.getLicensing(SourceFile:127)
at com.xyz.software.licensemgr.AppLicenseManager.initLicenseManager(Unknown Source)
... View more
Jan 13, 2020
10:43 PM
Hi @tphamda Thank you for replying. Using FlxCommSetSSLCertificatePath() is one solution, but I am trying to avoid using a specific file here and use the default trusted certificate store to obtain the certificate. As I mentioned, on Windows it is easy. we can import the certificate to Window's trusted storage and the flexnet library will use it. I am looking the similar solution in Linux, but not sure where import the certificate. I don't see any document related to this. Flexnet client lib should be using a default trusted store to get the certificates. Thanks
... View more
Jan 13, 2020
03:40 AM
Hi All, I am using a self-signed certificate to configure my local license server. On client side, I am using C library. I exported the HTTPS certificate from the browser, and trying to use in the client machine. On windows, its easy, I imported the certificate to the Windows Trusted store and my product is working fine. On Linux (Redhat 7), I tried many options, but nothing is working. Can you please help how to identify the correct system trusted store Flexnet library using?
... View more
Jan 13, 2020
03:31 AM
1 Kudo
Thank you @maximilianhense, Looks like this is the only solution
... View more
Dec 20, 2019
12:22 AM
Is it possible to create an entitlement that customer can map only to a standalone device, and not to any license server. Can we make such restriction in the entitlement, or in the product or in Licence model or any other configuration?
... View more
Dec 17, 2019
03:01 AM
Hi Is it possible to create an entitlement that customer can map only to a license server (either cloud license server or local license server). Can we make such restriction in the entitlement, or in the product or in Licence model. Basically I don't want the customer to map the entitlement to a standalone device. Thanks,
... View more
Dec 17, 2019
02:50 AM
Hi @maximilianhense Thank you for your response. Yes, I have gone through the document. The parent directory is already existing and has read access to all the users (d r w x r - x r - x). However, when the application invokes the license code it just creates trusted storage files under the directory with read permission only to the owner. Does it mean the application has to manually change the permission directly on the trusted storage file? I need to provide read access to all users. Thanks,
... View more
Dec 16, 2019
03:17 AM
Hi All, I am using Java toolkit. When it creates a trusted storage file in Linux, it gives read only access to the owner. How can I change the default permission so that it will create trusted storage with read permission to other users? I could not find an API for this. trusted storage file, - r w - - - - - - - Parent directory, d r w x r - x r - x Thanks
... View more
Dec 16, 2019
02:51 AM
1 Kudo
Hi @ejohnson1 I was testing using C++. I have resolved the issue. Each time when I checkout a license, I was storing the license object in a map. This was creating the issue. instead, I have to call getLicenses() method each time to get the updated license objects. Thanks,
... View more
Oct 25, 2019
11:39 AM
Hi @ejohnson1 Thank you for the response. yes, this is the intended behavior when borrowing the license. Multiple instances should consume only one license count when it runs on the same machine. The problem is that the application needs to release the license back to the license server when it exit. Suppose we have two instances acquired license from a single license count. Now instance 1 exit, it calls a capability request with count 0, and process the capability response to the trusted store. So the count will increase in the server and the response will be updated to the trusted store with 0 borrowed license. But the instance 2 still has the old details and shows as a valid license. For example, isStale() still give false. It can successfully call ReturnLicense() and AcquireLicense() even though there is no actual borrowed in the machine (because Instance 1 updated the trusted store with 0 count). So is there a way the LicenseManger in instance 2 can reload the latest information from the trusted store?
... View more
Oct 25, 2019
02:35 AM
Hi All, I have a question here. I can run multiple instances of my application on same the machine and it will borrow only one license from the server. I need to return the license back to the server when the application exit. The problem here is, when one instance exit, it calls a capability request to release the license to the server. However, this license still shows as valid in the other instance when it use isStale() method. Question1 : Is there a way to update/refresh the trusted storage of license manager from the trusted storage file? (without making a capability request and process response). So that the changes made by other process will reflect in this license manager. Thanks Babu
... View more
Latest posts by babu19
Subject | Views | Posted |
---|---|---|
1336 | Jun 22, 2021 01:03 AM | |
1985 | Jan 13, 2020 10:43 PM | |
1993 | Jan 13, 2020 03:40 AM | |
2052 | Jan 13, 2020 03:31 AM | |
813 | Dec 20, 2019 12:22 AM | |
792 | Dec 17, 2019 03:01 AM | |
2093 | Dec 17, 2019 02:50 AM | |
2104 | Dec 16, 2019 03:17 AM | |
1613 | Dec 16, 2019 02:51 AM | |
1685 | Oct 25, 2019 11:39 AM |
Activity Feed
- Posted "Tamper detected" when calling LicensingFactory.getLicensing() method on FlexNet Embedded Forum. Jun 22, 2021 01:03 AM
- Posted Re: Self signed certificate in Local license server. on FlexNet Embedded Forum. Jan 13, 2020 10:43 PM
- Got a Kudo for Re: Two programs accessing same trusted storage in FlexNet Embedded. Jan 13, 2020 07:51 AM
- Posted Self signed certificate in Local license server. on FlexNet Embedded Forum. Jan 13, 2020 03:40 AM
- Got a Kudo for Re: Access permission for trusted storage file on Linux.. Jan 13, 2020 03:37 AM
- Posted Re: Access permission for trusted storage file on Linux. on FlexNet Embedded Forum. Jan 13, 2020 03:31 AM
- Posted Entitlement that customer can map only to a standalone device on FlexNet Embedded Forum. Dec 20, 2019 12:22 AM
- Posted Entitlement that customer can map only to a license server on FlexNet Operations Forum. Dec 17, 2019 03:01 AM
- Posted Re: Access permission for trusted storage file on Linux. on FlexNet Embedded Forum. Dec 17, 2019 02:50 AM
- Posted Access permission for trusted storage file on Linux. on FlexNet Embedded Forum. Dec 16, 2019 03:17 AM
- Posted Re: Two programs accessing same trusted storage in FlexNet Embedded on FlexNet Embedded Forum. Dec 16, 2019 02:51 AM
- Posted Re: Two programs accessing same trusted storage in FlexNet Embedded on FlexNet Embedded Forum. Oct 25, 2019 11:39 AM
- Posted Two programs accessing same trusted storage in FlexNet Embedded on FlexNet Embedded Forum. Oct 25, 2019 02:35 AM