@@ -48,6 +48,12 @@ use period to its maximum duration. When connected to the internet,
4848Psychtoolbox will sync with the server at the first use in a session and
4949periodically every few hours.
5050
51+ If your local environments firewall prevents online license management from
52+ working, see the section at the bottom for how to add firewall exception rules
53+ to make it work anyway. Below that section you will also find instructions for
54+ operating in a fully offline "air gapped" environment without any internet access.
55+ The latter may require specially configured licenses, as our default licenses do
56+ not support fully offline use.
5157
5258# Subfunctions and their meaning
5359
@@ -100,6 +106,64 @@ machine has a properly paid, valid and active license associated with it.
100106Our professional support personnel may ask you to provide such a token in
101107some cases.
102108
109+ [ PsychLicenseHandling] ( PsychLicenseHandling ) ('News');
110+ - Print latest stored news about Psychtoolbox, and also specifically related to
111+ this license and activations. Psychtoolbox prints those messages automatically
112+ once when they are new. This function will print them even if they have been
113+ printed before.
114+
115+
116+ # USE IN STRICTLY FIREWALLED ENVIRONMENTS
117+
118+ If your firewall is blocking internet connections to our license servers,
119+ you can configure it as follows to allow connecting to the license servers.
120+ Follow the most recent instructions on this website for passthrough for EU data centers:
121+
122+ https://docs.cryptlex.com/node-locked-licenses/proxies-and-firewall\#for-our-eu-data-center
123+
124+ As of March 2025, the following configuration would be needed, but check above
125+ website for up to date informations if in doubt:
126+
127+ ### The following IP addresses and URL should be whitelisted:
128+
129+ IP Addresses to Whitelist:
130+ 75.2.113.112
131+ 99.83.149.57
132+
133+ Web API URL to Whitelist:
134+ https://api.eu.cryptlex.com:443
135+
136+ # OFFLINE USE IN AIR GAPPED ENVIRONMENTS
137+
138+ Some non-standard software subscription licenses allow offline activation and
139+ deactivation by use of the customer portal and passing forth and back offline
140+ activation and deactivation request and response files. This allows use in air-
141+ gapped environments without access to the public internet or to our license
142+ servers. If your purchased license supports this, the functions are as follows:
143+
144+ [ PsychLicenseHandling] ( PsychLicenseHandling ) ('ActivateEnrolledKeyOffline', pathToOfflineRequestResponseFile);
145+ - Either create an offline activation request file under the specified path/filename,
146+ which allows creation of an offline activation response file in the customer portal,
147+ or reads such an offline activation response file and activates your local machine.
148+
149+ E.g., after enrolling a license key via [ PsychLicenseHandling] ( PsychLicenseHandling ) ('Setup') or
150+ [ PsychLicenseHandling] ( PsychLicenseHandling ) ('Activate', licenseKey); do the following:
151+
152+ 1 . [ PsychLicenseHandling] ( PsychLicenseHandling ) ('ActivateEnrolledKeyOffline', 'offlineRequest.dat');
153+
154+ 2 . Login to customer portal and upload 'offlineRequest.dat' to create offline
155+ response file, downloaded to the file 'offlineResponse.dat'.
156+
157+ 3 . [ PsychLicenseHandling] ( PsychLicenseHandling ) ('ActivateEnrolledKeyOffline', 'offlineResponse.dat') to
158+ activate this machine.
159+
160+ [ PsychLicenseHandling] ( PsychLicenseHandling ) ('DeactivateEnrolledKeyOffline', pathToOfflineProofFile);
161+ - Deactivate the machine locally and write a deactivation proof file into the
162+ path/filename 'pathToOfflineProofFile'. You can upload that proof file into
163+ the customer portal to deactivate the machine in the license servers, so the
164+ machine activation that has been freed up can be reused on a different machine.
165+ Not all licenses allow offline deactivation of once activated machines.
166+
103167
104168
105169
0 commit comments