Secure Cookie Error
Why does the "Secure Cookie Is Not Enabled" warning appear in the Admin Portal?
This warning appears at Admin Portal login when FileCloud Server is not configured to serve its URL over HTTPS with a valid SSL certificate. The TONIDOCLOUD_SECURE_COOKIE setting requires an active HTTPS connection to function; without it, secure cookies cannot be set and the warning will continue to appear.
- Product: FileCloud Server
- Version: Any
- Platform: Any
How do I resolve the "Secure Cookie Is Not Enabled" warning?
Complete the following steps in order to resolve this issue.
- Install an SSL certificate and confirm your FileCloud URL is reachable over HTTPS. Follow the instructions in the SSL Configuration guide before proceeding.
- Open the
cloudconfig.phpfile in a text editor using the path for your operating system:- Windows:
C:\xampp\htdocs\config\cloudconfig.php - Linux:
/var/www/html/config/cloudconfig.php
- Windows:
- Add or edit the following line in
cloudconfig.php:define("TONIDOCLOUD_SECURE_COOKIE", 1); - Save the file and log in to the Admin Portal again to confirm the warning no longer appears.