Licensing
A self-hosted PentestPad installation needs a valid license. A server with internet access gets one with your license key; a server without it needs an offline license.
Add your license key
Section titled “Add your license key”Your license key is in your PentestPad account at cloud.pentestpad.com, and in the email we sent you. Any key from either place works.
Put it in LICENSE_KEY in .env:
LICENSE_KEY=<your license key>After changing LICENSE_KEY on a running install, apply it by recreating the app container:
docker compose up -d appYou can also leave LICENSE_KEY empty and paste the key on the activation page instead.
Activation
Section titled “Activation”Within about an hour of the first start, the server exchanges the key for a license, then renews it every day. For that
it needs outbound HTTPS (port 443) to cloud.pentestpad.com.
If PentestPad shows its activation page before then, paste the same key there to activate at once.
Existing installations
Section titled “Existing installations”Nothing to do. The key already in .env keeps working, and is exchanged for a license automatically once the server
can reach cloud.pentestpad.com.
One license, one installation
Section titled “One license, one installation”One license runs on one installation. Each installation gets an instance ID on first start. It is stored in the database and shown on the activation page and under Administration → License.
A fresh database is a new installation; a restored one is not.
To move a license to another server, paste the key on the new server’s activation page. If an activation is refused, contact PentestPad support.
Servers without internet access
Section titled “Servers without internet access”A server that can’t reach cloud.pentestpad.com needs an offline license:
- Open the activation page and copy the instance ID.
- Send the instance ID to PentestPad support.
- Paste the license we send back on the activation page, or put it in
LICENSE_KEY. InLICENSE_KEYthe license must be on one line.
A renewal needs a new offline license. Paste it under Administration → License, or put it in LICENSE_KEY.
When the license isn’t valid
Section titled “When the license isn’t valid”When no license is set, the license has expired, or the server clock is behind, PentestPad opens the activation page, which says why. An administrator can paste a key or a license there.
Keep the clock correct
Section titled “Keep the clock correct”Keep the host clock correct, for example with NTP. PentestPad locks when the clock falls more than a day behind the latest time it has seen.
Backups
Section titled “Backups”The license and the instance ID live in the database, so restoring a database backup keeps them.
docker compose down -v deletes the database, including the license and the instance ID. Use ./manage.sh stop to
stop the stack.