Spanish Total.js
English
Documentation For AI agents
Contents

HTTPS for SuperAdmin

Serve SuperAdmin itself over HTTPS with your own certificate.

.md GitHub
On this page

The install script asks whether SuperAdmin should use HTTPS. If you chose HTTP, you can switch later with the script reconfigure.sh and a certificate that you already have.

Switch to HTTPS

1. Become root on the server and copy the certificate and the key to these exact paths, where superadmin.example.com is your domain:

/www/ssl/superadmin.example.com/fullchain.cer
/www/ssl/superadmin.example.com/superadmin.example.com.key

The .cer file must hold the full chain.

2. Run the script:

cd /www/superadmin
bash reconfigure.sh y superadmin.example.com n

The arguments mean: use HTTPS (y), the domain, and do not request a new certificate (n).

3. Wait for this line:

Configured superadmin with https://superadmin.example.com

The script then restarts SuperAdmin.

4. Open https://superadmin.example.com/. The HTTP address redirects to it.

Switch back to HTTP

cd /www/superadmin
bash reconfigure.sh n superadmin.example.com

Renew the certificate

Replace the two files and reload Nginx:

nginx -t && nginx -s reload
Made in Europe