On the Admin Console, navigate to Packages > Tools.
Applies to enterprise.
Feature Restricted Licensing LAN activation is a licensing method from Adobe for enterprises who maintain secure networks which are not connected to the Internet. If you have not already set up a Feature Restricted Licensing LAN server (also referred to as LAN server), you should first follow the procedures described here. The following sections provide details on how to manage and troubleshoot issues on your LAN server.
Download Server Configuration Tool
The LAN server management commands and procedures described in the following sections require you to use the Server Configuration Tool. If you have not already done so, you will need to download this tool from the Adobe Admin Console.
-
-
Download the Server Configuration Tool based on your operating system.
-
Transfer the downloaded Server Configuration Tool (.zip) to your LAN server machine.
-
Extract the contents of the zip file on the LAN server machine.
To execute the commands detailed below, navigate to the folder extracted from the Server Configuration Tool (zip file) using the Linux terminal or the Windows PowerShell.
Start server
If the server is stopped and you need to start it up again, type the following command and press Enter:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 start - Linux terminal:
./scripts/adobe-lan-server.sh start
If, for example, you require to back up your server's database or are having issues with the server, you can stop it using the following command:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 stop - Linux terminal:
./scripts/adobe-lan-server.sh stop
Start server (as a Windows service)
If the Windows service is stopped and you need to start it up again, navigate to the \scripts folder and enter the following:
- Windows PowerShell:
.\adobeLanService.ps1 -Start
Stop Windows service
If, you require to back up your server's database or are having issues with the server, you can stop the Windows service, by navigating to the \scripts folder and using the following command:
- Windows PowerShell:
.\adobeLanService.ps1 -Stop
When you stop the server:
- All related services are stopped.
- A backup of the server's internal database is made in the following location:
<current_working_directory>/backup/backup.zip.
Restart server
Use the following commands to restart the server:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 restart - Linux terminal:
./scripts/adobe-lan-server.sh restart
If it is currently stopped, the Restart command starts the server.
When you restart the server, a backup of the server's internal database is made in the following location:
<current_working_directory>/backup/backup.zip.
Remove Windows service
Navigate to the \scripts folder and run the following command to remove the Windows service from the Windows Services console:
- Windows PowerShell:
.\adobeLanService.ps1 -Remove
Check server status
Use the following commands to check the status of LAN server instance:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 status - Linux terminal:
./scripts/adobe-lan-server.sh status
Backup database (embedded only)
By default, when you stop the server, an application consistent database backup is performed. This backup is stored in the following folder: <current_working_directory>/backup/backup.zip.
You can, however, manually back up the server database using the following commands:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 backup -f <zip_file_name> - Linux terminal:
./scripts/adobe-lan-server.sh backup -f <zip_file_name>
The above command creates a file copy of the embedded database with the name given and archives the database in a zip file.
Restore database (embedded only)
If you face issues while running the LAN server, you can troubleshoot the server by restoring the internal database from a previous backup.
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 restore -f <previously backed up zip_file_name> - Linux terminal:
./scripts/adobe-lan-server.sh restore -f <previously backed up zip_file_name>
If the server is currently running, the Restore command stops the server. You will need to Start the server again.
Besides the commands that you use to manage the LAN server, you can also:
- Manage email notifications from the server.
- Reauthorize the server.
- Edit server settings.
- Troubleshoot server issues.
Manage notifications
The LAN server that you set up can be configured to send emails about server updates. Follow the steps below to manage the server (SMTP) and email settings.
-
On the LAN server, go to https://localhost:8463.
-
Go to the Email Settings tab and specify the required SMTP settings:
-
Go to the Notification Settings tab and specify primary and secondary email addresses that will receive email notifications:
Reauthorize server
The activation period of a LAN server instance is for a maximum of 365 days from the date you create the ATO but less than or equal to the end date of the contract that your enterprise has made with Adobe.
After the activation of a LAN server instance expires, you are required to reauthorize the server to serve licenses to end-user machines deployed with LAN activation packages.
-
On the LAN server, go to https://localhost:8463 and navigate to the Server Setup tab.
-
Click Generate Authorization File.
The Authorization file is downloaded to your local disk.
-
On the Admin Console, navigate to Packages > Servers.
Note the Authorized Until date for each server. You will need to reauthorize an instance on or before it's Authorized Until date.
-
Click Reauthorize for the server instances that are expiring or have already expired.
-
Upload the new Authorization file that was generated in Step 2, above and click Done.
The ATO file is downloaded to your local disk.
-
On the LAN server, go to https://localhost:8463 and navigate to the Server Setup tab.
-
Upload the ATO file that was downloaded at the end of Step 5, above.
-
On the Confirm Entitlements dialog, review your entitlements associated to the server and click Confirm.
The Authorized Until date for the server instanced that you reauthorized is now updated to show a date 365 days from the day you reauthorize the instances.
Edit LAN server details
After setting up a LAN server instance, you can edit server details such as the DNS address or port number.
-
In the Admin Console, navigate to Packages > Servers.
-
Click the line item for the server and, in the right pane, click Edit.
-
On the Configure screen, edit any of the following fields:
- DNS address and port location of the LAN server.
- Set LAN timeout to specify how long the client can run without contacting the LAN server.
- Select Soft quota to allow the activation of additional licenses even when it exceeds your purchased allotment.
- Select Hard quota (ETLA only) to ensure that additional licenses cannot be activated when the licenses exceed your purchase allotment.
NoteMake sure the server location that you specify is reachable by clients. Else, the license activation on client machines will fail.
-
Add your organization's name and click Next.
Your users will see this as the organization's name in their messages.
-
Select the products to host on the current server and click Next.
The end-user entitlements are based on the products that you select.
-
In the Finalize screen, specify a name for the server, review the server details, and click Create Server.
Once server creation is complete, the ATO file is download to your machine.
-
On the LAN server, go to https://localhost:8463 and navigate to the Server Setup tab.
-
Upload the ATO file that was downloaded in Step 6, above.
On the Confirm Entitlements dialog, review your entitlements associated to the server and click Confirm.
If you edit a LAN server, you will need to create LAN activation packages and then redeploy these to your end-user machines.
To redeploy the LAN activation packages use one of the following methods:
Support for server to connect to external database
As part of the external database connection, ensure the following configurations are setup.
If not done correctly, connection to the database may fail which would result in the server not starting.
Create database and schemas
Prior to running the setup script or the AdobeFRLLanService script, create the database and schema (for Microsoft SQL Server only). Also, ensure that you specify the same values while entering the details for the database name and database schema in the setup script.
Create a new database user
It is recommended that you create a new database user for the newly created database and schemas. Also, ensure that all the required permissions, especially CRUD operation permissions, for the new database and schema are granted to this new database user. Limit the access permissions for the new user to this new database alone. The new user credentials are to be provided during the server setup
Enabling Remote connection on the database server
If the database server is hosted on a machine different to the machine where the LAN server is hosted, then the remote connections must be enabled on the server. Also, the database user must be provided permissions to connect / contact the database remotely.
Unblocking the database port for remote connection
Occasionally, the firewall may block external communications to any TCP port on the machine where the database server is hosted. To resolve this:
Windows: Ensure that an inbound rule is created for the TCP port where the database server is running.
CentOS: Use the iptables command to unblock the TCP port.
SSL communications with the database server
In the setup script, if you require to connect to the database server using SSL, ensure that SSL is enabled on the database server.
-
Start the LAN server with either of the following commands:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 start - Linux terminal:
./scripts/adobe-lan-server.sh start
- Windows PowerShell:
-
Go to https://localhost:8463 to validate that the server is up and running, using the new Keystore file.
Troubleshoot the LAN server
We recommend that you restart the LAN server periodically. This ensures that a most current backup of the server database is maintained. Also, in between stop and restart cycles, you can also periodically back up the database manually.
To resolve the following error you need to restore the database to the previously backed up version:
- org.h2.jdbc.JdbcSQLException: Encryption error in file null
- org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta-data;
nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection;
nested exception is org.h2.jdbc.JdbcSQLException: Encryption error in file null [90049-197]
To restore the database:
-
Stop the server:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 stop - Linux terminal:
./scripts/adobe-lan-server.sh stop
- Windows PowerShell:
-
Restore the server database to the previously backed up version:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 restore -f <previously backed up zip_file_name> - Linux terminal:
./scripts/adobe-lan-server.sh restore -f <previously backed up zip_file_name>
- Windows PowerShell:
-
Start the server:
- Windows PowerShell:
.\scripts\adobe-lan-server.ps1 start - Linux terminal:
./scripts/adobe-lan-server.sh start
- Windows PowerShell:
If licenses on end-user machines are not being activated:
- Ensure that end-user machines are able to connect to the LAN server machine.
- Go to the Adobe Admin Console and check the LAN server DNS address and port number and ensure that these match the machine that you are using for the LAN server. See the Edit LAN server details section above, to verify, and if required edit, the server details.
- If end-user machines are able to connect to the server, but are unable to activate their licenses, check if the server is using self-signed SSL Certificates. If the server is using self-signed SSL Certificates (not recommended):
- Close any Adobe applications running on the end-user machine.
- Install the self-signed Certificate on the end-user machine.
- Restart the applications after installing the self-signed Certificate.
End users see the following error when they launch an application that is installed via a LAN activation package.
The error occurs if the LAN activation package is installed on a Windows 7, 64-bit machine and if the LAN server is set up with a self-signed SSL certificate.
The reason why this issue occurs, is that the client machine is unable to connect to the LAN server that you set up.
Resolution:
To resolve this issue, you need to specify the LAN server DNS name in the SAN (Subject Alternative Name) when you are setting up the self-signed certificate on the client machine.
The following is an example of the command line to generate a self-signed certificate:
C:\keytool.exe" -genkeypair -alias adminService -keyalg RSA -keysize 4096 -sigalg SHA512withRSA -ext SAN=dns:10.42.66.139,ip:127.0.0.1,ip:::1 -keystore adminService.jks -validity 3650
Note that the SAN parameter has two entries for the DNS. One for localhost and the other for the LAN server DNS. If you generating the self-signed certificate on a Windows 7 machine, the DNS server entry for the SAN is mandatory.
When you run the PowerShell scripts, you may get the following error:
Only run scripts from trusted publishers
Follow these steps to resolve this issue:
Workaround 1
The PowerShell will prompt to run Scripts from this Publisher “Always”, do allow them “Always”
- In Windows Explorer, navigate to the PowerShell script that you ran when you got this error.
- Right click on the file and choose Properties | Digital Signatures.
- Select the signature and click Details | View Certificate.
- Choose the Details tab and click Copy to File.
- Save the file with a .CER extension.
- Using the Certificates MMC Snapin, import this file into the Trusted Publishers Certificate Store on the Local Machine.
Workaround 2
In an elevated PowerShell, use the following command to set the execution policy to either RemoteSigned or Unrestricted:
Set-ExecutionPolicy RemoteSigned
OR
Set-ExecutionPolicy Unrestricted
Known issues
We are working to address these issues and any others that arise as soon as possible.
If you uninstall a LAN activation package on a client machine, the Feature Restricted license count on the Admin Console or the LAN Server Management Console does not reflect this.