To enable SSL security features on your UniFi controller, follow these steps:
Enable HSTS:
system.properties and uncomment the lines for HSTS settings.unifi.https.hsts=false to enable HSTS.unifi.https.hsts.max_age to set the cache duration (e.g., 31536000 seconds for one year).unifi.https.hsts.preload=true if you won't remove it later.unifi.https.hsts.subdomain=false unless you want HSTS applied to subdomains.Configure Cipher Suites and SSL Protocols:
unifi.https.ciphers and unifi.https.sslEnabledProtocols.HTTPS Redirect:
http://hostname:8080 will redirect to https://hostname:8443.Restart UniFi:
system.properties, then restart your UniFi controller.