When the portal starts for the first time: Does it need to connect to some Liferay activation server? Or is it possible, to activate a portal instance in my intranet without having a connection to the internet? (offline activation)
What happens after one year, when the expiration date of the key is reached? Will the portal stop working? Will it show a warning on every public page or only for logged in users?
Can Liferay revoke the activation key and disable a running portal instance from remote?
The way the key works is that it simply validates on startup that the infrastructure you are running on is in the same domain as you registered when getting the key. Once that is started, you can create as many Virtual Instances as you want for different domains.
However, if you are using different infrastructure (i.e. different Docker containers) then you’re using a separate instance of Liferay DXP. If those instances are in the same domain (as in your example) then you can simply re-use the key you already have - it’s not checking to see if it’s been used before, just the domain. Or, you can simply go to Marketplace again and get another key.
No, there’s no need for there to be a connection from the instance to the internet. If you need to use Liferay DXP in a ring-fenced private environment you can. There’s no communication from DXP to any online server when it first starts up (or indeed later).
Yes, after 12 months the key will stop working, however:
You will get a warning in the UI telling you the expiry is due, and
You can get a new key whenever you want.
The key thing (no pun intended) is that when you get a key we’re not saying “you can have this only for 12 months”, it’s just a mechanism to help guide people to get their own key, rather than sharing one online. You can get as many keys as you want, as often as you want. So, you could get a new one every 3 months (not that you need to!) and that way you would never get to the point of nearing the expiry date
No, we can’t, and we wouldn’t. As noted above, the instance doesn’t (ever) need to be connected to the internet, and as such there’s no communication between DXP and an online service.
Hope this helps - if you have more questions just let us know!