Hardware Key Licensing
In the LicenseSpring platform, users can generate and customize licenses to require a hardware key. LicenseSpring supports using Yubikey hardware keys.
Hardware Key Licensing is an add-on functionality in Licensespring. Contact sales to enable it on your account.
This licenses can only be activated and used only when hardware key is plugged-in. To start using hardware key licensing you need to:
- Create hardware key required licenses
- Provision hardware keys so that they can be used with LicenseSpring service
- Configure license entitlements (max concurrent users, features, validity period etc.)
- Ensure Require Hardware Key is Ticked
Click Next and Create Order.
Download and install the LicenseSpring Provisionning Application for Desktop from here.
We currently support x64 Windows, but we will expand the support for the rest of the OS environments.
This application will handle all the provisioning logic. It will create certificate and private and public keys for Yubikey dongle. Private key will be saved in the Yubikey, and public key will be kept in LicenseSpring and used for signature verification.
Install the MSVC redistributable if it is not available already.
Plug in a single Yubikey into your computer. Provisioning currently works if a single Yubikey is plugged into the computer. If there are multiple Yubikeys, one will randomly be chosen for provisioning.
Visit the Hardware Keys page in LicenseSpring vendor platform ( Licenses -> Hardware Keys ). Here you can see the list of all provisioned hardware keys for your account and informations like expiration date of the certificate, is the certificate revoked or active and if it is already used to activate a license. If it is, button View license will be displayed in table row.
To provision a new key certificate, click on Provision the key certificate button and confirm the action inside the popup. This will redirect you to the desktop application which you installed in previous step. This application will start the provisioning process in the background.
If the process is successful, you should get a message window stating Succeeded writing cert and new certificate will be saved in PIV slot 9a. Otherwise, you will get a message window with some kind of error and writing the certificate will fail.
Provisioning will overwrite the RSA2048 keypair in PIV slot 9a
Once this is done, you can safely activate the license using hardware_key. Hardware key needs to be plugged-in at all the time during which software is running or the license will not work.
At the moment we support hardware keys licensing inside our c++ SDK and floating server.